antd
Version:
An enterprise-class UI design language and React-based implementation
13 lines (12 loc) • 442 B
TypeScript
/// <reference types="react" />
import * as React from 'react';
export interface DividerProps {
prefixCls?: string;
type?: 'horizontal' | 'vertical';
orientation?: 'left' | 'right';
className?: string;
children?: React.ReactNode;
dashed?: boolean;
style?: React.CSSProperties;
}
export default function Divider({prefixCls, type, orientation, className, children, dashed, ...restProps}: DividerProps): JSX.Element;