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

Function Dialog

starters/tailwind/src/Dialog.tsx:6–16  ·  view source on GitHub ↗
(props: DialogProps)

Source from the content-addressed store, hash-verified

4import {twMerge} from 'tailwind-merge';
5
6export function Dialog(props: DialogProps) {
7 return (
8 <RACDialog
9 {...props}
10 className={twMerge(
11 'outline outline-0 box-border p-6 [[data-placement]>&]:p-4 max-h-[inherit] overflow-auto relative',
12 props.className
13 )}
14 />
15 );
16}
17
18export {Heading};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected