chore: update type divider (#2687)
parent
0587798674
commit
10ca7ae8b2
|
@ -5,24 +5,26 @@
|
||||||
import { AntdComponent } from './component';
|
import { AntdComponent } from './component';
|
||||||
|
|
||||||
export declare class Divider extends AntdComponent {
|
export declare class Divider extends AntdComponent {
|
||||||
/**
|
$props: {
|
||||||
* whether line is dashed
|
/**
|
||||||
* @default false
|
* whether line is dashed
|
||||||
* @type boolean
|
* @default false
|
||||||
*/
|
* @type boolean
|
||||||
dashed: boolean;
|
*/
|
||||||
|
dashed?: boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* position of title inside divider
|
* position of title inside divider
|
||||||
* @default 'center'
|
* @default 'center'
|
||||||
* @type string
|
* @type string
|
||||||
*/
|
*/
|
||||||
orientation: 'left' | 'right' | 'center';
|
orientation?: 'left' | 'right' | 'center';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* direction type of divider
|
* direction type of divider
|
||||||
* @default 'horizontal'
|
* @default 'horizontal'
|
||||||
* @type string
|
* @type string
|
||||||
*/
|
*/
|
||||||
type: 'horizontal' | 'vertical';
|
type?: 'horizontal' | 'vertical';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue