UNPKG

@react-component-library/utils

Version:

A collection of utility hooks and components tailored to streamline React application development.

9 lines (8 loc) 209 B
declare const useDialog: <T>(initialValue: T) => { isOpen: boolean; data: T | undefined; show: (data: T) => void; hide: () => void; setData: (data: T) => void; }; export default useDialog;