UNPKG

@tiiqu/ui

Version:

A customizable, accessible, and developer-friendly React UI component library powered by Tailwind CSS, TypeScript, and Vite

11 lines (10 loc) 265 B
import { RefObject } from 'react'; type UseDialogProps = { dialogRef: RefObject<HTMLDialogElement | null>; }; export declare function useDialog({ dialogRef }: UseDialogProps): { toggle: () => void; open: () => void; close: () => void; }; export {};