19 lines
430 B
TypeScript
19 lines
430 B
TypeScript
import * as React from 'react';
|
|
|
|
import { StandardProps } from '../@types/common';
|
|
|
|
export interface DividerProps extends StandardProps {
|
|
/** Primary content */
|
|
children?: React.ReactNode;
|
|
|
|
/** Vertical dividing line */
|
|
vertical?: boolean;
|
|
|
|
/** You can use a custom element for this component */
|
|
componentClass?: React.ElementType;
|
|
}
|
|
|
|
declare const Divider: React.ComponentType<DividerProps>;
|
|
|
|
export default Divider;
|