@types/react-motion-ui-pack
TypeScript icon, indicating that this package has built-in type declarations

0.10.7 • Public • Published

Installation

npm install --save @types/react-motion-ui-pack

Summary

This package contains type definitions for react-motion-ui-pack (https://github.com/souporserious/react-motion-ui-pack).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-motion-ui-pack.

index.d.ts

import * as React from "react";
import * as motion from "react-motion";

declare namespace Transition {
    interface TransitionProps {
        children?: React.ReactNode;
        component?: string | boolean | React.ReactElement | undefined;
        runOnMount?: boolean | undefined;
        appear?: motion.Style | undefined;
        enter?: motion.Style | undefined;
        leave?: motion.Style | undefined;
        onEnter?: ((style: motion.PlainStyle) => void) | undefined;
        onLeave?: ((style: motion.Style) => void) | undefined;
    }
}

declare const Transition: React.ComponentClass<Transition.TransitionProps>;
export default Transition;

Additional Details

Credits

These definitions were written by Jason Unger.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-motion-ui-pack

Weekly Downloads

16

Version

0.10.7

License

MIT

Unpacked Size

4.14 kB

Total Files

5

Last publish

Collaborators

  • types