1.1.4 • Published 6 months ago

@types/react-animated-modal v1.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for react-animated-modal 1.1
// Project: https://github.com/morfsys/react-animated-modal
// Definitions by: Manish Kumar <https://github.com/manishprivet>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Thu, 14 Oct 2021 13:31:24 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by Manish Kumar.

1.1.4

6 months ago

1.1.3

7 months ago

1.1.2

8 months ago

1.1.1

3 years ago

1.1.0

3 years ago