react-bulb

0.0.2 • Public • Published

react-bulb

A colorful boolean indicator for React.

react-bulb

🚀 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

Prop Type Default Required
style shape {} No
size number 40 No
color string 'red' No

✌️ License

MIT

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i react-bulb

    Weekly Downloads

    47

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    7.49 kB

    Total Files

    8

    Last publish

    Collaborators

    • cawfree