0.0.2 • Published 4 years ago

react-bulb v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

react-bulb

A colorful boolean indicator for React.

🚀 Getting Started

Using npm:

npm install --save react-bulb

Using yarn:

yarn add react-bulb

✍️ Example

import React from 'react';
import Bulb from 'react-bulb';

export default () => (
  <Bulb
    size={60}
    color="green"
  />
);

📌 Props

PropTypeDefaultRequired
styleshape{}No
sizenumber40No
colorstring'red'No

✌️ License

MIT