From e26d821f738525477472e631d170d9ed218c1603 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 25 Feb 2022 19:17:09 +0100 Subject: chore: combine input/textarea/select in a single component --- src/components/FormElements/FormItem/FormItem.tsx | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/components/FormElements/FormItem/FormItem.tsx (limited to 'src/components/FormElements/FormItem/FormItem.tsx') 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
{children}
; +}; + +export default FormItem; -- cgit v1.2.3