refactor: move divider to design system
remove not used variants and duplicate colors
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { dividerVariants } from './variants'
|
||||
|
||||
import type { DividerProps } from './types'
|
||||
|
||||
export function Divider({ className, color, variant }: DividerProps) {
|
||||
const classNames = dividerVariants({ className, color, variant })
|
||||
return <hr className={classNames} />
|
||||
}
|
||||
Reference in New Issue
Block a user