From eb459cc248a5940a14193b20d263ffee3d345026 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Thu, 16 Dec 2021 13:40:12 +0100 Subject: chore: create contact page --- src/components/Form/Form.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/components/Form/Form.tsx (limited to 'src/components/Form/Form.tsx') diff --git a/src/components/Form/Form.tsx b/src/components/Form/Form.tsx new file mode 100644 index 0000000..cc97526 --- /dev/null +++ b/src/components/Form/Form.tsx @@ -0,0 +1,16 @@ +import { FormEvent } from 'react'; +import styles from './Form.module.scss'; + +const Form: React.FunctionComponent = ({ children }) => { + const submitForm = (e: FormEvent) => { + e.preventDefault(); + }; + + return ( +
+ {children} +
+ ); +}; + +export default Form; -- cgit v1.2.3