@types/react-animated-modal
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-animated-modal

Weekly Downloads

36

Version

1.1.4

License

MIT

Unpacked Size

4.83 kB

Total Files

5

Last publish

Collaborators

  • types