diff --git a/package.json b/package.json index f050606..99a9c27 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,6 @@ "name": "gpt-assistant", "private": true, "version": "0.0.1", - "type": "module", "scripts": { "dev": "vite", "build": "tsc && vite build", diff --git a/src/App.tsx b/src/App.tsx index 62cbc0a..53dace3 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,9 +1,14 @@ import { Box, Flex } from "@chakra-ui/react"; +import CustomButton from "./components/shared/Button"; function App() { return ( - - + + Drawer + + Testing + Testing + ); } diff --git a/src/components/shared/Button/index.tsx b/src/components/shared/Button/index.tsx new file mode 100644 index 0000000..28ff94f --- /dev/null +++ b/src/components/shared/Button/index.tsx @@ -0,0 +1,15 @@ +import { Button } from "@chakra-ui/react"; + +interface CustomButtonProps { + children: React.ReactNode; +} + +function CustomButton({ children }: CustomButtonProps) { + return ( + + ); +} + +export default CustomButton;