UNPKG

@mui/codemod

Version:
82 lines (81 loc) 1.12 kB
"use strict"; fn({ MuiBackdrop: { defaultProps: { slots: { transition: CustomTransition } } } }); fn({ MuiBackdrop: { defaultProps: { slots: { root: 'div', transition: CustomTransition } } } }); fn({ MuiBackdrop: { defaultProps: { slots: { root: 'div', transition: SlotTransition } } } }); fn({ MuiBackdrop: { defaultProps: { slots: { root: ComponentsRoot }, slotProps: { root: componentsRootProps } } } }); fn({ MuiBackdrop: { defaultProps: { slotProps: { root: slotsRootProps }, slots: { root: ComponentsRoot } } } }); fn({ MuiBackdrop: { defaultProps: { slots: { root: SlotsRoot }, slotProps: { root: componentsRootProps } } } }); fn({ MuiBackdrop: { defaultProps: { slots: { root: SlotsRoot }, slotProps: { root: { ...componentsRootProps, ...slotsRootProps } } } } });