Unexplode Modals on canary
This commit is contained in:
parent
ae86848cf6
commit
e1de6f88fe
@ -56,12 +56,12 @@ interface ModalRootProps {
|
|||||||
|
|
||||||
type RenderFunction = (props: ModalProps) => React.ReactNode;
|
type RenderFunction = (props: ModalProps) => React.ReactNode;
|
||||||
|
|
||||||
export const Modals = mapMangledModuleLazy(".onAnimationEnd,", {
|
export const Modals = mapMangledModuleLazy("().closeWithCircleBackground", {
|
||||||
ModalRoot: filters.byCode("headerIdIsManaged:"),
|
ModalRoot: filters.byCode("().root"),
|
||||||
ModalHeader: filters.byCode("children", "separator", "wrap", "NO_WRAP", "grow", "shrink", "id", "header"),
|
ModalHeader: filters.byCode("().header"),
|
||||||
ModalContent: filters.byCode("scrollerRef", "content", "className", "children"),
|
ModalContent: filters.byCode("().content"),
|
||||||
ModalFooter: filters.byCode("HORIZONTAL_REVERSE", "START", "STRETCH", "NO_WRAP", "footerSeparator"),
|
ModalFooter: filters.byCode("().footerSeparator"),
|
||||||
ModalCloseButton: filters.byCode("closeWithCircleBackground", "hideOnFullscreen"),
|
ModalCloseButton: filters.byCode("().closeWithCircleBackground"),
|
||||||
});
|
});
|
||||||
|
|
||||||
export const ModalRoot = (props: ModalRootProps) => <Modals.ModalRoot {...props} />;
|
export const ModalRoot = (props: ModalRootProps) => <Modals.ModalRoot {...props} />;
|
||||||
|
Loading…
Reference in New Issue
Block a user