mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
Merge pull request #1954 from GrayChoi/master
update definition file of TypeScritpt
This commit is contained in:
commit
91882a2376
5
index.d.ts
vendored
5
index.d.ts
vendored
@ -746,6 +746,10 @@ export class Row extends React.Component<RowProps, {}> {
|
||||
// Col
|
||||
interface ColProps {
|
||||
span?:number,
|
||||
lg?: number,
|
||||
md?:number,
|
||||
sm?:number,
|
||||
xs?:number,
|
||||
order?:number,
|
||||
offset?:string,
|
||||
push?:string,
|
||||
@ -833,6 +837,7 @@ export class MenuItemGroup extends React.Component<MenuItemGroupProps, {}> {
|
||||
}
|
||||
|
||||
interface MenuProps {
|
||||
id?: string,
|
||||
/** 主题颜色*/
|
||||
theme?:'light' | 'dark',
|
||||
/** 菜单类型 enum: `vertical` `horizontal` `inline`*/
|
||||
|
Loading…
Reference in New Issue
Block a user