react-led-display

1.0.4 • Public • Published

react-led-display

Simple LED display control for numeric values 0 - 9

Install

npm install react-led-display

Demo

Props

 <ReactLEDDisplay
    displayValue="4"    /* numeric value 0-9 */
    width="32"          /* maximum width of display panel */
    ledSize="2"         /* thickness of each led in pixels */
    foregroundCol="lightgreen"  /* Active LED color */    
    backgroundCol="darkgreen"/> /* Inactive LED color */
    skew=-7 /* Skew panel*/

Example

 <ReactLEDDisplay displayValue="1" width="18" ledSize="1" foregroundCol="lime" backgroundCol="darkgreen" skew="-6"/>

Readme

Keywords

none

Package Sidebar

Install

npm i react-led-display

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

15.2 kB

Total Files

8

Last publish

Collaborators

  • welshcake11