reablocks
Version:
Component library for React
32 lines (30 loc) • 773 B
TypeScript
import { DividerTheme } from './DividerTheme';
import { default as React, FC } from 'react';
export interface DividerProps {
/**
* Classname to apply to the divider.
*/
className?: string;
/**
* Disable the margins of the divider.
* The default margin is: `--spacings-md`.
*/
disableMargins?: boolean;
/**
* Orientation of the divider.
*/
orientation?: 'horizontal' | 'vertical';
/**
* Additional style attributes. Recommend to use css classes over this.
*/
style?: React.CSSProperties;
/**
* Theme for the Divider.
*/
theme?: DividerTheme;
/**
* Variant of the divider.
*/
variant?: 'primary' | 'secondary';
}
export declare const Divider: FC<DividerProps>;