UNPKG

ds-smart-ui

Version:

Smart UI v1.0.5 — A production-ready React component library by PT Praisindo Teknologi. Covers inputs, navigation, data display, feedback, and layout with a unified design system, semantic Typography tokens, and full Storybook documentation.

25 lines (24 loc) 1.03 kB
import { CSSProperties, ElementType, ReactNode } from 'react'; export interface DividerProps { /** The component orientation. @default 'horizontal' */ orientation?: "horizontal" | "vertical"; /** The variant to use. @default 'fullWidth' */ variant?: "fullWidth" | "inset" | "middle"; /** The text alignment when a divider has children. @default 'center' */ textAlign?: "center" | "left" | "right"; /** The content of the component. */ children?: ReactNode; /** * If true, a vertical divider will have the correct height when used in a * flex container. @default false */ flexItem?: boolean; /** The component used for the root node. Defaults to 'hr' or 'div' when children is provided. */ component?: ElementType; className?: string; style?: CSSProperties; id?: string; [key: string]: any; } declare const Divider: import('react').ForwardRefExoticComponent<Omit<DividerProps, "ref"> & import('react').RefAttributes<HTMLElement>>; export default Divider;