fix(SW-3691): Setup one prettier config for whole repo * Setup prettierrc in root and remove other configs Approved-by: Joakim Jäderberg Approved-by: Linus Flood
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} />
|
|
}
|