NPM
npm install --save react-seven-segment-display
Web
Download react-seven-segment-display.min.js
<script src="https://github.com/z0h4n/react-seven-segment-display/raw/master/react-seven-segment-display.min.js"></script>
// ESM
import SevenSegmentDisplay from 'react-seven-segment-display';
// CommonJS
const SevenSegmentDisplay = require('react-seven-segment-display').default;
// Web
var SevenSegmentDisplay = window.reactSevenSegmentDisplay.default;
value
width
height
onColor
offColor