diff --git a/src/components/Divider/Divider.tsx b/src/components/Divider/Divider.tsx index ed44e166d..e1702d583 100644 --- a/src/components/Divider/Divider.tsx +++ b/src/components/Divider/Divider.tsx @@ -1,17 +1,17 @@ -import { Box, BoxProps } from '~/components/Box' +import { HTMLAttributes } from 'react' -type DividerProps = BoxProps +import { cn } from '~/utils' + +interface DividerProps extends HTMLAttributes { + className?: string +} export const Divider = (props: DividerProps) => { - const { color = 'borderNormal', marginY = '4', ...rest } = props + const { className, ...rest } = props return ( - ) diff --git a/src/components/DropdownMenu/DropdownMenu.tsx b/src/components/DropdownMenu/DropdownMenu.tsx index d0b2c2356..b9cb6d1ce 100644 --- a/src/components/DropdownMenu/DropdownMenu.tsx +++ b/src/components/DropdownMenu/DropdownMenu.tsx @@ -65,7 +65,7 @@ const DropdownMenuItemIndicator = ({ export const DropdownMenuSeparator = () => ( - + )