0.10.7 • Published 6 months ago
@types/react-motion-ui-pack v0.10.7
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
- Last updated: Thu, 14 Oct 2021 10:01:31 GMT
- Dependencies: @types/react, @types/react-motion
- Global values: none
Credits
These definitions were written by Jason Unger.