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} />
}
