@neuctra/ui
Version:
A modern, responsive, customizable React UI component library powered by Tailwind CSS and Vite.
14 lines (13 loc) • 644 B
TypeScript
import { default as React } from 'react';
export interface DividerProps extends React.HTMLAttributes<HTMLDivElement> {
orientation?: "horizontal" | "vertical";
/** Optional centered label — horizontal orientation only. */
label?: React.ReactNode;
dashed?: boolean;
/** Vertical spacing (horizontal) or horizontal spacing (vertical). */
spacing?: "none" | "sm" | "md" | "lg";
/** 🔥 Full Customization (labeled horizontal variant only) */
lineClassName?: string;
labelClassName?: string;
}
export declare const Divider: React.ForwardRefExoticComponent<DividerProps & React.RefAttributes<HTMLDivElement>>;