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

2.0.4 • Public • Published

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

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

Credits

These definitions were written by Jeremy Allard.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-motion-loop

Weekly Downloads

3

Version

2.0.4

License

MIT

Unpacked Size

3.59 kB

Total Files

5

Last publish

Collaborators

  • types