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
/// <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: Tue, 09 Jan 2024 19:35:21 GMT
- Dependencies: @types/react
Credits
These definitions were written by Chigozirim Chukwu.