From 9f20cf084de7310f77f3f1c7c321b4c728b9cfa5 Mon Sep 17 00:00:00 2001 From: Corban Riley Date: Tue, 7 Jan 2025 13:53:15 -0500 Subject: [PATCH] Divider converted to tailwind --- src/components/Divider/Divider.tsx | 18 +++++++++--------- src/components/DropdownMenu/DropdownMenu.tsx | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) 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 = () => ( - + )