0.0.5 • Published 12 months ago

@types/react-animals v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

Installation

npm install --save @types/react-animals

Summary

This package contains type definitions for react-animals (https://github.com/arvinpoddar/react-animals).

Details

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

index.d.ts

// Type definitions for react-animals 0.0
// Project: https://github.com/arvinpoddar/react-animals
// Definitions by: Chigozirim Chukwu <https://github.com/smac89>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 2.8

/// <reference types="react" />

interface AnimalProps {
    name:
        | 'alligator'
        | 'anteater'
        | 'armadillo'
        | 'auroch'
        | 'axolotl'
        | 'badger'
        | 'bat'
        | 'beaver'
        | 'buffalo'
        | 'camel'
        | 'capybara'
        | 'chameleon'
        | 'cheetah'
        | 'chinchilla'
        | 'chipmunk'
        | 'chupacabra'
        | 'cormorant'
        | 'coyote'
        | 'crow'
        | 'dingo'
        | 'dinosaur'
        | 'dolphin'
        | 'duck'
        | 'elephant'
        | 'ferret'
        | 'fox'
        | 'frog'
        | 'giraffe'
        | 'gopher'
        | 'grizzly'
        | 'hedgehog'
        | 'hippo'
        | 'hyena'
        | 'ibex'
        | 'ifrit'
        | 'iguana'
        | 'jackal'
        | 'kangaroo'
        | 'koala'
        | 'kraken'
        | 'lemur'
        | 'leopard'
        | 'liger'
        | 'llama'
        | 'manatee'
        | 'mink'
        | 'monkey'
        | 'moose'
        | 'narwhal'
        | 'orangutan'
        | 'otter'
        | 'panda'
        | 'penguin'
        | 'platypus'
        | 'pumpkin'
        | 'python'
        | 'quagga'
        | 'rabbit'
        | 'raccoon'
        | 'rhino'
        | 'sheep'
        | 'shrew'
        | 'skunk'
        | 'squirrel'
        | 'tiger'
        | 'turtle'
        | 'walrus'
        | 'wolf'
        | 'wolverine'
        | 'wombat'
        | string;
    color: React.CSSProperties['color'] | 'none';
    size: React.CSSProperties['width'];
    rounded: boolean;
    square: boolean;
    circle: boolean;
    dance: boolean;
}

declare const Animal: React.VFC<Partial<AnimalProps>>;
export default Animal;

Additional Details

  • Last updated: Sat, 30 Oct 2021 03:01:21 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by Chigozirim Chukwu.

0.0.5

12 months ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.4

1 year ago

0.0.1

3 years ago

0.0.0

3 years ago