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
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/react, @types/react-motion
Credits
These definitions were written by Jeremy Allard.