View as Markdown

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).

DialogTriggerRenderProps members (1, 1 inherited)
NameSignatureDescription
refoptionalinheritedref?: Ref<HTMLButtonElement>;