PopUp: { hide: () => void; overlay: { hide: () => void; show: (content: Content) => void; showActions: ( title: Content, content: Content, actions: Omit<PopUpAction, "confirm">[], ) => void; showConfirm: ( content: Content, onYes: () => void, onNo?: () => void, ) => void; }; remove: () => void; show: () => void; update: (options: Partial<PopUpOptions>) => void;} Type declaration
hide: () => void
overlay: {
hide: () => void;
show: (content: Content) => void;
showActions: (
title: Content,
content: Content,
actions: Omit<PopUpAction, "confirm">[],
) => void;
showConfirm: (
content: Content,
onYes: () => void,
onNo?: () => void,
) => void;
}
hide: () => void
show: (content: Content) => void
showActions: (
title: Content,
content: Content,
actions: Omit<PopUpAction, "confirm">[],
) => void
showConfirm: (content: Content, onYes: () => void, onNo?: () => void) => void
remove: () => void
show: () => void
update: (options: Partial<PopUpOptions>) => void
Represents a PopUp with methods to control its visibility and content.