react-bulb
v0.0.2
Published
A colorful boolean indicator for React.
Maintainers
Readme
react-bulb
A colorful boolean indicator for React.
🚀 Getting Started
Using npm:
npm install --save react-bulbUsing 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
