Make everything compatible with the latest material-ui version
This commit is contained in:
parent
4b370889af
commit
f2cc0eaa2a
5 changed files with 10 additions and 8 deletions
|
|
@ -134,7 +134,8 @@ export class Toggle extends UiControl<UIToggle> {
|
|||
<Switch label={this.props.item.text}
|
||||
checked={this.isToggled()}
|
||||
onChange={this.runPrimaryAction}
|
||||
disabled={!this.isEnabled()} />
|
||||
disabled={!this.isEnabled()}
|
||||
color="primary" />
|
||||
</ListItemSecondaryAction>
|
||||
];
|
||||
}
|
||||
|
|
@ -195,7 +196,8 @@ export class Link extends UiItem<UILink> {
|
|||
|
||||
render() {
|
||||
return (
|
||||
<Button raised
|
||||
<Button
|
||||
variant="raised"
|
||||
onClick={this.runPrimaryAction}
|
||||
color="primary"
|
||||
disabled={!this.isEnabled()}
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ export default class UiItemList extends React.Component<UiItemListProps> {
|
|||
on(control.delayedApply)();
|
||||
}}
|
||||
onDragStop={on(false)}
|
||||
style={{width: 100}}
|
||||
style={{width: 100, marginTop: 54}}
|
||||
/></MuiThemeProvider>
|
||||
</ListItemSecondaryAction>
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue