@dr-kobros/react-place-a-manatee
v1.0.1
Published
React component for place-a-manatee
Downloads
6
Maintainers
Readme
react-place-a-manatee
A react component for Place-a-manatee, the almighty manatee placeholder service. F**k the kitten placeholders, long live the manatee!
Installation
npm install --save @dr-kobros/react-place-a-manatee
Usage
import React from 'react';
import PlaceAManatee from '@dr-kobros/react-place-a-manatee';
React.render(
<PlaceAManatee width={640} height={480} type="bitmap" />,
mountNode
);
Available Props
prop | type | default value
----------|---------------------------|---------------
type
| string
(bitmap, vector) | bitmap
width
| number
(in pixels) | 640
height
| number
(in pixels) | 480
specimen
| number
(optional) |
Examples / develop
- fork / clone
- npm install
- cd examples
- npm run start
- http://localhost:8765