@mui/codemod
Version:
Codemod scripts for Material UI.
67 lines (66 loc) • 911 B
JavaScript
"use strict";
fn({
MuiListItem: {
defaultProps: {
slots: {
root: ComponentsRoot
},
slotProps: {
root: componentsRootProps
}
}
}
});
fn({
MuiListItem: {
defaultProps: {
slotProps: {
root: slotsRootProps
},
slots: {
root: ComponentsRoot
}
}
}
});
fn({
MuiListItem: {
defaultProps: {
slots: {
root: SlotsRoot
},
slotProps: {
root: componentsRootProps
}
}
}
});
fn({
MuiListItem: {
defaultProps: {
slots: {
root: SlotsRoot
},
slotProps: {
root: {
...componentsRootProps,
...slotsRootProps
}
}
}
}
});
fn({
MuiListItem: {
defaultProps: {
slots: {
root: Container
},
slotProps: {
root: {
id: 'test'
}
}
}
}
});