Installation
npm install --save @types/react-animated-modal
Summary
This package contains type definitions for react-animated-modal (https://github.com/morfsys/react-animated-modal).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-animated-modal.
index.d.ts
import * as React from "react";
export type AnimationTypes =
| "pulse"
| "rubberBand"
| "shake"
| "swing"
| "tada"
| "wobble"
| "jello"
| "bounceIn"
| "bounceInDown"
| "bounceInLeft"
| "bounceInRight"
| "bounceInUp"
| "fadeIn"
| "fadeInDown"
| "fadeInLeft"
| "fadeInRight"
| "fadeInUp"
| "flip"
| "flipInX"
| "flipInY"
| "lightSpeedIn"
| "rotateIn"
| "rotateInDownLeft"
| "rotateInDownRight"
| "rotateInUpLeft"
| "rotateInUpRight"
| "slideInUp"
| "slideInDown"
| "slideInLeft"
| "slideInRight"
| "zoomIn"
| "zoomInDown"
| "zoomInLeft"
| "zoomInRight"
| "zoomInUp"
| "hinge"
| "jackInTheBox"
| "rollIn"
| "bounce"
| "flash";
export interface ModalProps {
children?: React.ReactNode;
closemodal: () => void;
visible: boolean;
/** @default 'flipInX' */
type?: AnimationTypes | undefined;
}
export const Modal: React.FunctionComponent<ModalProps>;
export default Modal;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/react
Credits
These definitions were written by Manish Kumar.