import { ButtonHTMLAttributes, FC, Ref } from 'react'; export interface DialogTriggerProps extends ButtonHTMLAttributes { /** * If true, renders the trigger as a child element using `Slot`. * Allows for custom wrapper elements (e.g., ,
) to behave as modal triggers. */ asChild?: boolean; /** * Ref forwarded to the underlying trigger element (typically a