Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame
780 Bytes
import React from 'react';
import { Container, Input, Button, Text, Break } from './styles/opt-form';
export default function OptForm({ children, ...restProps }) {
return <Container {...restProps}>{children}</Container>;
}
OptForm.Input = function OptFormInput({ ...restProps }) {
return <Input {...restProps}></Input>;
};
OptForm.Button = function OptFormButton({ children, ...restProps }) {
return (
<Button {...restProps}>
{children} <img src="/images/icons/chevron-right.png" alt="Try Now" />
</Button>
);
};
OptForm.Text = function OptFormText({ children, ...restProps }) {
return <Text { ...restProps}>{children}</Text>;
};
OptForm.Break = function OptFormBreak({ ...restProps }) {
return <Break {...restProps} />;
};