@geneui/components
Version:
The Gene UI components library designed for BI tools
25 lines (24 loc) • 772 B
TypeScript
import { FC, HTMLAttributes } from 'react';
import './Divider.scss';
export interface IDividerProps extends HTMLAttributes<HTMLDivElement> {
/**
* Divider direction. <br>
* Possible values: `horizontal | vertical`
*/
type: 'horizontal' | 'vertical';
/**
* Divider additional className
*/
className?: string;
/**
* Divider size will be applied to height(when "type" is set to "vertical") or to width(when "type" is set to "horizontal"). <br>
* Possible values: `string | number`
*/
size?: string | number;
/**
* withSpace by default true. If you want to remove the divider`s spacing, switch to false
*/
withSpace: boolean;
}
declare const Divider: FC<IDividerProps>;
export default Divider;