0.0.5 • Published 11 months ago
@types/react-animals v0.0.5
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.