diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx new file mode 100644 index 0000000..9b9850f --- /dev/null +++ b/src/app/dashboard/page.tsx @@ -0,0 +1,5 @@ +import DashboardPage from '@/components/templates/DashboardPage' + +export default function Page() { + return +} diff --git a/src/components/atoms/Button.tsx b/src/components/atoms/Button.tsx index 532255b..3f14d16 100644 --- a/src/components/atoms/Button.tsx +++ b/src/components/atoms/Button.tsx @@ -2,7 +2,7 @@ import React from 'react' import { Button as ChakraButton } from '@chakra-ui/react' import { ButtonProps } from '@/types/style' -const Button: React.FC = ({ label, onClick, disabled = false, bg, color, _hover, ...props}) => { +const Button: React.FC = ({ children, onClick, disabled = false, bg, color, _hover, ...props}) => { return ( = ({ label, onClick, disabled = false, bg, c color={color} _hover={_hover} {...props}> - {label} + {children} ) } diff --git a/src/components/molecules/DefaultButton.tsx b/src/components/molecules/DefaultButton.tsx index a54b5f2..2c092cb 100644 --- a/src/components/molecules/DefaultButton.tsx +++ b/src/components/molecules/DefaultButton.tsx @@ -25,7 +25,7 @@ const DefaultButton: React.FC = ({ label, onClick, theme, mr return (