diff --git a/types/divider.d.ts b/types/divider.d.ts index 23d2cd42e..7ae885e0c 100644 --- a/types/divider.d.ts +++ b/types/divider.d.ts @@ -5,24 +5,26 @@ import { AntdComponent } from './component'; export declare class Divider extends AntdComponent { - /** - * whether line is dashed - * @default false - * @type boolean - */ - dashed: boolean; + $props: { + /** + * whether line is dashed + * @default false + * @type boolean + */ + dashed?: boolean; - /** - * position of title inside divider - * @default 'center' - * @type string - */ - orientation: 'left' | 'right' | 'center'; + /** + * position of title inside divider + * @default 'center' + * @type string + */ + orientation?: 'left' | 'right' | 'center'; - /** - * direction type of divider - * @default 'horizontal' - * @type string - */ - type: 'horizontal' | 'vertical'; + /** + * direction type of divider + * @default 'horizontal' + * @type string + */ + type?: 'horizontal' | 'vertical'; + }; }