9 lines
271 B
TypeScript
9 lines
271 B
TypeScript
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} />
|
|
}
|