We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I will add ts support
The text was updated successfully, but these errors were encountered:
I created this in my project:
declare module 'use-modal-hook' { export function useModal<T>(component: FC<T>, props: Partial<T>): [(modalData: Partial<T>) => void, () => void]; export const ModalContext: React.Context<{ showModal: (modalKey: string, component: FC<T>, modalData: Partial<T>) => void; hideModal: (modalKey: string, onClose: () => void) => void; isOpenedModal: boolean; }>; export const ModalProvider: FC<PropsWithChildren>; }
You could revise and use them.
Sorry, something went wrong.
alexanderkhivrych
No branches or pull requests
I will add ts support
The text was updated successfully, but these errors were encountered: