Function ShopDialog
-
ShopDialog(
__namedParameters: {
children: ReactNode;
closeLabel: string;
onClose: () => void;
title: string;
variant?: "sheet" | "drawer";
},
): ElementParameters
- __namedParameters: {
children: ReactNode;
closeLabel: string;
onClose: () => void;
title: string;
variant?: "sheet" | "drawer";
}-
children: ReactNode
Host-supplied child content.
-
closeLabel: string
Accessible close button label.
-
onClose: () => void
Close the modal in host state.
-
title: string
Customer-visible heading or title supplied by the host.
-
Optionalvariant?: "sheet" | "drawer"Modal presentation variant.
-
Returns Element
- __namedParameters: {
Render a native modal drawer or sheet with a host close action.