From 619e3c4852cbd630ab0497d37746a11309896cc7 Mon Sep 17 00:00:00 2001 From: Timo K Date: Thu, 7 Jul 2022 23:40:29 +0200 Subject: [PATCH] form --- src/form/{Form.jsx => Form.tsx} | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) rename src/form/{Form.jsx => Form.tsx} (72%) diff --git a/src/form/Form.jsx b/src/form/Form.tsx similarity index 72% rename from src/form/Form.jsx rename to src/form/Form.tsx index 011fbb26..fbe7fe00 100644 --- a/src/form/Form.jsx +++ b/src/form/Form.tsx @@ -16,12 +16,15 @@ limitations under the License. import classNames from "classnames"; import React, { forwardRef } from "react"; + import styles from "./Form.module.css"; -export const Form = forwardRef(({ children, className, ...rest }, ref) => { - return ( -
- {children} -
- ); -}); +export const Form = forwardRef( + ({ children, className, ...rest }, ref) => { + return ( +
+ {children} +
+ ); + } +);