UNPKG

infinity-ui-elements

Version:

A React TypeScript component library with Tailwind CSS design system

37 lines 1.36 kB
import * as React from "react"; import { type VariantProps } from "class-variance-authority"; declare const dividerVariants: (props?: ({ orientation?: "horizontal" | "vertical" | null | undefined; thickness?: "thick" | "thin" | "thinner" | "thicker" | null | undefined; lineStyle?: "dashed" | "solid" | null | undefined; variant?: "normal" | "subtle" | "muted" | null | undefined; } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string; export interface DividerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof dividerVariants> { /** * The orientation of the divider * @default "horizontal" */ orientation?: "horizontal" | "vertical"; /** * The thickness of the divider * @default "thin" */ thickness?: "thinner" | "thin" | "thick" | "thicker"; /** * The style of the divider line * @default "solid" */ lineStyle?: "solid" | "dashed"; /** * The color variant of the divider * @default "normal" */ variant?: "normal" | "subtle" | "muted"; /** * Custom class name for the divider */ className?: string; } declare const Divider: React.ForwardRefExoticComponent<DividerProps & React.RefAttributes<HTMLDivElement>>; export { Divider, dividerVariants }; //# sourceMappingURL=Divider.d.ts.map