Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cawfree/react-bulb
A colorful boolean indicator for React.
https://github.com/cawfree/react-bulb
bool boolean indicator led light react
Last synced: about 2 months ago
JSON representation
A colorful boolean indicator for React.
- Host: GitHub
- URL: https://github.com/cawfree/react-bulb
- Owner: cawfree
- License: mit
- Created: 2019-12-13T20:48:50.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T02:58:16.000Z (almost 2 years ago)
- Last Synced: 2024-08-09T21:47:54.017Z (4 months ago)
- Topics: bool, boolean, indicator, led, light, react
- Language: JavaScript
- Size: 1.1 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-bulb
A colorful boolean indicator for React.
## 🚀 Getting Started
Using [`npm`]():
```bash
npm install --save react-bulb
```Using [`yarn`]():
```bash
yarn add react-bulb
```## ✍️ Example
```javascript
import React from 'react';
import Bulb from 'react-bulb';export default () => (
);
```## 📌 Props
Prop | Type | Default | Required
--------------------- | -------- | ------------------------- | --------
`style`|shape|`{}`|No
`size`|number|`40`|No
`color`|string|`'red'`|No## ✌️ License
[MIT](https://opensource.org/licenses/MIT)