mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:09:08 +08:00
文档整理
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',
|
||||
path: '/docs/renderers/Button-Group',
|
||||
getComponent: (location, cb) => require(['../../docs/renderers/Button-Group.md'], (doc) => {
|
||||
label: 'ButtonGroup',
|
||||
path: '/docs/renderers/ButtonGroup',
|
||||
getComponent: (location, cb) => require(['../../docs/renderers/ButtonGroup.md'], (doc) => {
|
||||
cb(null, makeMarkdownRenderer(doc));
|
||||
}),
|
||||
},
|
||||
|
@ -191,6 +191,10 @@
|
||||
color: $text--muted-color;
|
||||
font-size: $fontSizeSm;
|
||||
margin-left: $gap-xs;
|
||||
|
||||
&:empty {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.#{$ns}ComboControl.is-inline {
|
||||
|
@ -81,7 +81,8 @@ export default class ButtonGroupControl extends React.Component<ButtonGroupProps
|
||||
activeLevel: btnActiveLevel,
|
||||
...button
|
||||
}, {
|
||||
key
|
||||
key,
|
||||
className: cx(button.className, btnClassName),
|
||||
}));
|
||||
}
|
||||
|
||||
|
@ -67,6 +67,7 @@ export interface Button {
|
||||
icon?: string;
|
||||
size?: string;
|
||||
disabled?: boolean;
|
||||
className?: string;
|
||||
};
|
||||
|
||||
export type SchemaNode = number | string | Schema | SchemaArray;
|
||||
|
Loading…
Reference in New Issue
Block a user