cleanup profile page html to be valid replace old temp design system components with new ones divider is now correctly an hr element less section elements to be valid html
14 lines
308 B
TypeScript
14 lines
308 B
TypeScript
import { dividerVariants } from "./variants"
|
|
|
|
import type { DividerProps } from "./divider"
|
|
|
|
export default function Divider({
|
|
className,
|
|
color,
|
|
opacity,
|
|
variant,
|
|
}: DividerProps) {
|
|
const classNames = dividerVariants({ className, color, opacity, variant })
|
|
return <hr className={classNames} />
|
|
}
|