API reference: @salmonui/overlays/dialog
DialogTriggerRenderPropstype
import type { DialogTriggerRenderProps } from '@salmonui/overlays/dialog';type DialogTriggerRenderProps = ButtonHTMLAttributes<HTMLButtonElement> & {
readonly ref?: Ref<HTMLButtonElement> | undefined;
};
Props the trigger computes for its element (spread them in render).
| Name | Signature | Description |
|---|---|---|
refoptionalinherited | ref?: Ref<HTMLButtonElement>; |