From e55d522187a5fce332dc8a7f1aaf59bcc3afaaf0 Mon Sep 17 00:00:00 2001 From: Sabrina Miranda Date: Mon, 9 Jan 2023 22:08:55 -0300 Subject: [PATCH] feat: Cria o componente Button --- src/components/Button/Buttom.tsx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/components/Button/Buttom.tsx diff --git a/src/components/Button/Buttom.tsx b/src/components/Button/Buttom.tsx new file mode 100644 index 0000000..9fcdb9e --- /dev/null +++ b/src/components/Button/Buttom.tsx @@ -0,0 +1,19 @@ +import React from "react"; + +interface Btn { + text: string; + type: "button" | "submit" | "reset"; + className: string; +} + +const Button = ( props: Btn ) => { + const { text, type, className } = props; + + return ( + + ); +}; + +export { Button };