@mui/codemod
Version:
Codemod scripts for MUI.
67 lines (66 loc) • 905 B
JavaScript
"use strict";
fn({
MuiModal: {
defaultProps: {
slots: {
root: ComponentsRoot
},
slotProps: {
root: componentsRootProps
}
}
}
});
fn({
MuiModal: {
defaultProps: {
slotProps: {
root: slotsRootProps
},
slots: {
root: ComponentsRoot
}
}
}
});
fn({
MuiModal: {
defaultProps: {
slots: {
root: SlotsRoot
},
slotProps: {
root: componentsRootProps
}
}
}
});
fn({
MuiModal: {
defaultProps: {
slots: {
root: SlotsRoot
},
slotProps: {
root: {
...componentsRootProps,
...slotsRootProps
}
}
}
}
});
fn({
MuiModal: {
defaultProps: {
slots: {
backdrop: Backdrop
},
slotProps: {
backdrop: {
timeout: 500
}
}
}
}
});