chore: update type divider (#2687)

This commit is contained in:
xrkffgg 2020-08-17 13:54:25 +08:00 committed by GitHub
parent 0587798674
commit 10ca7ae8b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

38
types/divider.d.ts vendored
View File

@ -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';
};
}