UNPKG

react-basic-elements

Version:

A lightweight collection of basic React layout and UI primitives with built-in style support.

10 lines (9 loc) 423 B
import { CSSProperties, FC, HTMLAttributes } from 'react'; import { CommonStyles } from '../types'; export interface DividerProps extends HTMLAttributes<HTMLHRElement>, CommonStyles { color?: CSSProperties['color']; variant?: 'solid' | 'dashed' | 'dotted'; orientation?: 'horizontal' | 'vertical'; length?: CSSProperties['width'] | CSSProperties['height']; } export declare const Divider: FC<DividerProps>;