diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-02-25 19:17:09 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-02-25 19:17:09 +0100 |
| commit | e26d821f738525477472e631d170d9ed218c1603 (patch) | |
| tree | 70ec0c29d003d462de6926f1faa09354e3ff6d90 /src/components/FormElements/FormItem/FormItem.tsx | |
| parent | cb4764f8670f67627c407591c89b8d3637c190a7 (diff) | |
chore: combine input/textarea/select in a single component
Diffstat (limited to 'src/components/FormElements/FormItem/FormItem.tsx')
| -rw-r--r-- | src/components/FormElements/FormItem/FormItem.tsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/components/FormElements/FormItem/FormItem.tsx b/src/components/FormElements/FormItem/FormItem.tsx new file mode 100644 index 0000000..8d674f1 --- /dev/null +++ b/src/components/FormElements/FormItem/FormItem.tsx @@ -0,0 +1,7 @@ +import styles from './FormItem.module.scss'; + +const FormItem: React.FunctionComponent = ({ children }) => { + return <div className={styles.wrapper}>{children}</div>; +}; + +export default FormItem; |
