0.10.7 • Published 6 months ago

@types/react-motion-ui-pack v0.10.7

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

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

// Type definitions for react-motion-ui-pack 0.10
// Project: https://github.com/souporserious/react-motion-ui-pack
// Definitions by: Jason Unger <https://github.com/jsonunger>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

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.

0.10.5

7 months ago

0.10.6

7 months ago

0.10.7

6 months ago

0.10.4

3 years ago

0.10.3

3 years ago

0.10.2

5 years ago

0.10.1

6 years ago

0.10.0

6 years ago