@types/conductor-animate
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

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

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 | readonly React.ReactNode[] | null | undefined;
    id: string;
}

declare class Animated extends React.PureComponent<AnimatedProps> {}

interface ConductorProps {
    animations: Animations;
    children: React.ReactNode | readonly React.ReactNode[];
    config: { [K: string]: Config } | ((id: string, additional: object) => Config);
}

declare class Conductor extends React.PureComponent<ConductorProps> {}

export { Animated, Conductor };

Additional Details

  • Last updated: Fri, 15 Dec 2023 18:35:57 GMT
  • Dependencies: @types/react

Credits

These definitions were written by Tae Kim.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/conductor-animate

Weekly Downloads

7

Version

1.0.6

License

MIT

Unpacked Size

4.12 kB

Total Files

5

Last publish

Collaborators

  • types