(props: DialogTriggerProps)
| 25 | * type and positioning of the Dialog. |
| 26 | */ |
| 27 | export function DialogTrigger(props: DialogTriggerProps): ReactNode { |
| 28 | return ( |
| 29 | <AriaDialogTrigger {...props}> |
| 30 | {/* RAC sets isPressed via PressResponder when the dialog is open. |
| 31 | We don't want press scaling to appear to get "stuck", so override this. */} |
| 32 | <PressResponder isPressed={false}>{props.children}</PressResponder> |
| 33 | </AriaDialogTrigger> |
| 34 | ); |
| 35 | } |
nothing calls this directly
no outgoing calls
no test coverage detected