Browse Source

chore: update type divider (#2687)

pull/2695/head
xrkffgg 4 years ago committed by GitHub
parent
commit
10ca7ae8b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 38
      types/divider.d.ts

38
types/divider.d.ts vendored

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

Loading…
Cancel
Save