@mui/codemod
Version:
Codemod scripts for Material UI.
74 lines (73 loc) • 981 B
JavaScript
"use strict";
fn({
MuiDrawer: {
defaultProps: {
slots: {
backdrop: Backdrop
},
slotProps: {
backdrop: {
transitionDuration: 300
}
}
}
}
});
fn({
MuiSwipeableDrawer: {
defaultProps: {
slots: {
backdrop: Backdrop
},
slotProps: {
backdrop: {
transitionDuration: 300
}
}
}
}
});
fn({
MuiDrawer: {
defaultProps: {
slotProps: {
paper: {
elevation: 20
}
}
}
}
});
fn({
MuiSwipeableDrawer: {
defaultProps: {
slotProps: {
paper: {
elevation: 20
}
}
}
}
});
fn({
MuiDrawer: {
defaultProps: {
slotProps: {
transition: {
direction: 'right'
}
}
}
}
});
fn({
MuiSwipeableDrawer: {
defaultProps: {
slotProps: {
transition: {
direction: 'right'
}
}
}
}
});