0.2.4 • Published 6 months ago

@types/react-svg-morph v0.2.4

Weekly downloads
73
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/react-svg-morph

Summary

This package contains type definitions for react-svg-morph (https://github.com/gorangajic/react-svg-morph#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-svg-morph.

index.d.ts

// Type definitions for react-svg-morph 0.2
// Project: https://github.com/gorangajic/react-svg-morph#readme
// Definitions by: Haseeb Majid <https://github.com/hmajid2301>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import * as React from 'react';

export interface MorphReplaceProps {
    children: React.ReactElement;
    width?: number | undefined;
    height?: number | undefined;
    viewBox?: string | undefined;
    duration?: number | undefined;
    rotation?: string | undefined;
    preserveAspectRatio?: string | undefined;
    easing?: ((props: any) => number) | undefined;
}

export interface MorphTransitionProps {
    width?: number | undefined;
    height?: number | undefined;
    viewBox?: string | undefined;
    propgress?: number | undefined;
    rotation?: string | undefined;
    children: {
        from: React.ReactElement;
        to: React.ReactElement;
    };
}

export const MorphReplace: React.ComponentClass<MorphReplaceProps>;

export const MorphReplaceResize: React.ComponentClass<MorphReplaceProps>;

export const MorphTransition: React.ComponentClass<MorphTransitionProps>;

export const MorphTransitionResize: React.ComponentClass<MorphTransitionProps>;

Additional Details

  • Last updated: Thu, 08 Jul 2021 22:41:36 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by Haseeb Majid.

0.2.3

7 months ago

0.2.2

8 months ago

0.2.4

6 months ago

0.2.1

3 years ago

0.2.0

4 years ago