@kubit-ui-web/react-components
Version:
Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience
19 lines (18 loc) • 763 B
TypeScript
import { TableDividerType } from '../types/table';
import { TableDividerStylesType } from '../types/tableTheme';
export interface IListDivider {
divider: null | TableDividerType | unknown;
dividerStyles?: TableDividerStylesType;
}
/**
* @description
* ListDivider component is used to display a divider between lists.
* It can be a string or a Divider component.
* If it is a string, it will be rendered as a LineSeparator component.
* If it is a Divider component, it will be rendered as a Divider component.
* If it is null, it will not be rendered.
* @example
* <ListDivider dividerValue="test" />
* <ListDivider dividerValue={<Divider variant="dashed" />} />
*/
export declare const ListDivider: (props: IListDivider) => JSX.Element | null;