import { type DividerProps as AntdDividerProps } from 'antd'; import React from 'react'; export interface CustomDividerProps { /** * @description type of the divider * @default 'default' */ mode?: 'expanded' | 'line' | 'default'; /** * @description Default whether to expand. This parameter is available only when mode is expanded * @default 'false' */ defaultOpen?: boolean; /** * @description Expand content. This parameter is available only when mode is expanded * @default '-' */ content?: React.ReactNode; /** * @description The position of icon. This parameter is available only when mode is expanded and default * @default 'left' */ iconPlacement?: 'left' | 'right'; /** * @description custom open icon. This parameter is available only when mode is expanded * @default '-' */ openIcon?: React.ReactNode; /** * @description custom close icon. This parameter is available only when mode is expanded * @default '-' */ closeIcon?: React.ReactNode; } export interface DividerProps extends AntdDividerProps, CustomDividerProps { } export declare const Divider: React.FC; export default Divider;