@spicy-ui/core
Version:
A themable and extensible React UI library, ready to use out of the box
10 lines (9 loc) • 495 B
TypeScript
import * as React from 'react';
import { SxProp } from '../../system';
import { AsProp, HTMLAttributes, LiteralUnion } from '../../types';
export declare type DividerOrientation = 'horizontal' | 'vertical';
export interface DividerProps extends HTMLAttributes, AsProp, SxProp {
/** Orientation of the divider. */
orientation?: LiteralUnion<DividerOrientation>;
}
export declare const Divider: React.ForwardRefExoticComponent<DividerProps & React.RefAttributes<HTMLDivElement>>;