@ma9pie/use-modal
Version:
React useModal hooks
10 lines (9 loc) • 326 B
TypeScript
import React, { ReactNode } from 'react';
type Props = {
openAnimationName?: string;
closeAnimationName?: string;
duration?: number;
children: ReactNode;
};
declare const ModalProvider: ({ openAnimationName, closeAnimationName, duration, children, }: Props) => React.JSX.Element;
export default ModalProvider;