mirror of
https://github.com/umami-software/umami.git
synced 2026-02-13 00:55:37 +01:00
Merge branch 'feat/um-285-report-schema' into dev
This commit is contained in:
commit
40f53e8856
29 changed files with 1007 additions and 14 deletions
28
components/pages/reports/ReportForm.js
Normal file
28
components/pages/reports/ReportForm.js
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
import useMessages from 'hooks/useMessages';
|
||||
import { Form, FormButtons, FormInput, FormRow, SubmitButton, TextField } from 'react-basics';
|
||||
|
||||
export function FunnelForm() {
|
||||
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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue