2023-05-18 20:17:35 +02:00
|
|
|
import useMessages from 'hooks/useMessages';
|
|
|
|
import { Form, FormButtons, FormInput, FormRow, SubmitButton, TextField } from 'react-basics';
|
|
|
|
|
2023-05-18 22:21:35 +02:00
|
|
|
export function FunnelForm() {
|
2023-05-18 20:17:35 +02:00
|
|
|
const { formatMessage, labels } = useMessages();
|
|
|
|
|
|
|
|
const handleSubmit = () => {};
|
|
|
|
|
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<Form onSubmit={handleSubmit}>
|
|
|
|
<FormRow label={formatMessage(labels.website)}>
|
|
|
|
<FormInput name="name" rules={{ required: formatMessage(labels.required) }}>
|
|
|
|
<TextField />
|
|
|
|
</FormInput>
|
|
|
|
</FormRow>
|
|
|
|
|
|
|
|
<FormButtons>
|
|
|
|
<SubmitButton variant="primary" disabled={false}>
|
|
|
|
Save
|
|
|
|
</SubmitButton>
|
|
|
|
</FormButtons>
|
|
|
|
</Form>
|
|
|
|
</>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default FunnelForm;
|