UNPKG

react-7-segment-display-plus

Version:

A react component that simulates a 7-segment display

11 lines (10 loc) 262 B
import React from "react"; type SegmentType = { active: boolean; color: string; size: number; id: string; skew: boolean; }; declare const Segment: ({ active, color, size, id, skew }: SegmentType) => React.JSX.Element; export default Segment;