文档整理
This commit is contained in:
parent
0099b588ed
commit
8350be3fc8
|
@ -1,4 +1,4 @@
|
||||||
## Button-Group
|
## ButtonGroup
|
||||||
|
|
||||||
按钮集合。
|
按钮集合。
|
||||||
|
|
|
@ -617,9 +617,9 @@ export default {
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Button-Group',
|
label: 'ButtonGroup',
|
||||||
path: '/docs/renderers/Button-Group',
|
path: '/docs/renderers/ButtonGroup',
|
||||||
getComponent: (location, cb) => require(['../../docs/renderers/Button-Group.md'], (doc) => {
|
getComponent: (location, cb) => require(['../../docs/renderers/ButtonGroup.md'], (doc) => {
|
||||||
cb(null, makeMarkdownRenderer(doc));
|
cb(null, makeMarkdownRenderer(doc));
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
|
|
@ -191,6 +191,10 @@
|
||||||
color: $text--muted-color;
|
color: $text--muted-color;
|
||||||
font-size: $fontSizeSm;
|
font-size: $fontSizeSm;
|
||||||
margin-left: $gap-xs;
|
margin-left: $gap-xs;
|
||||||
|
|
||||||
|
&:empty {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.#{$ns}ComboControl.is-inline {
|
.#{$ns}ComboControl.is-inline {
|
||||||
|
|
|
@ -81,7 +81,8 @@ export default class ButtonGroupControl extends React.Component<ButtonGroupProps
|
||||||
activeLevel: btnActiveLevel,
|
activeLevel: btnActiveLevel,
|
||||||
...button
|
...button
|
||||||
}, {
|
}, {
|
||||||
key
|
key,
|
||||||
|
className: cx(button.className, btnClassName),
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -67,6 +67,7 @@ export interface Button {
|
||||||
icon?: string;
|
icon?: string;
|
||||||
size?: string;
|
size?: string;
|
||||||
disabled?: boolean;
|
disabled?: boolean;
|
||||||
|
className?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type SchemaNode = number | string | Schema | SchemaArray;
|
export type SchemaNode = number | string | Schema | SchemaArray;
|
||||||
|
|
Loading…
Reference in New Issue