1.0.6 • Published 5 months ago
@types/conductor-animate v1.0.6
Installation
npm install --save @types/conductor-animate
Summary
This package contains type definitions for conductor-animate (https://github.com/TaeKimJR/conductor-animate#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/conductor-animate.
index.d.ts
// Type definitions for conductor-animate 1.0
// Project: https://github.com/TaeKimJR/conductor-animate#readme
// Definitions by: Tae Kim <https://github.com/TaeKimJR>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
import * as React from 'react';
interface Animations {
[K: string]: React.ComponentClass<any> | React.FunctionComponent<any>;
}
interface Config {
animation: string;
}
interface AnimatedProps {
additional?: object | undefined;
children?: React.ReactNode | React.ReactNodeArray | null | undefined;
id: string;
}
declare class Animated extends React.PureComponent<AnimatedProps> { }
interface ConductorProps {
animations: Animations;
children: React.ReactNode | React.ReactNodeArray;
config: { [K: string]: Config } | ((id: string, additional: object) => Config);
}
declare class Conductor extends React.PureComponent<ConductorProps> { }
export { Animated, Conductor };
Additional Details
- Last updated: Thu, 08 Jul 2021 22:41:04 GMT
- Dependencies: @types/react
- Global values: none
Credits
These definitions were written by Tae Kim.