MCPcopy Create free account
hub / github.com/adobe/react-spectrum / MobileCustomDialog

Function MobileCustomDialog

packages/dev/s2-docs/src/MobileSearchMenu.tsx:223–231  ·  view source on GitHub ↗
(props: MobileDialogProps)

Source from the content-addressed store, hash-verified

221}
222
223const MobileCustomDialog = function MobileCustomDialog(props: MobileDialogProps) {
224 let {padding = 'default'} = props;
225
226 return (
227 <RACDialog {...props} className={dialogStyle({padding})}>
228 {props.children}
229 </RACDialog>
230 );
231};
232
233function MobileNav({initialTag}: {initialTag?: string}) {
234 let {pages, currentPage} = useRouter();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected