2.0.4 • Published 6 months ago
@types/react-motion-loop v2.0.4
Installation
npm install --save @types/react-motion-loop
Summary
This package contains type definitions for react-motion-loop (https://github.com/nkbt/react-motion-loop).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-motion-loop.
index.d.ts
// Type definitions for react-motion-loop 2.0
// Project: https://github.com/nkbt/react-motion-loop
// Definitions by: Jeremy Allard <https://github.com/j-em>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.1
import { Component, ReactElement } from "react";
import { MotionProps, PlainStyle, Style } from "react-motion";
interface ReactMotionLoopProps extends Partial<MotionProps> {
styleFrom: Style;
styleTo: Style;
children?: ((interpolatedStyle: PlainStyle) => ReactElement) | undefined;
}
export class ReactMotionLoop extends Component<ReactMotionLoopProps> {}
export as namespace ReactMotionLoop;
Additional Details
- Last updated: Thu, 08 Jul 2021 20:20:57 GMT
- Dependencies: @types/react, @types/react-motion
- Global values:
ReactMotionLoop
Credits
These definitions were written by Jeremy Allard.