react-led-digit 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
<img src="images/react-led-digit.gif" width="576" alt="react led digit" />
|
|
2
2
|
|
|
3
|
-
# Led Digit
|
|
3
|
+
# React Led Digit [](https://www.npmjs.com/package/react-led-digit)
|
|
4
4
|
|
|
5
|
+
A react component to emulate seven-segment display.
|
|
5
6
|
→ [Codesandbox playground](https://codesandbox.io/p/sandbox/friendly-dewdney-7jvh5w)
|
|
6
7
|
|
|
7
8
|
Use example:
|
|
@@ -19,7 +20,7 @@ import { Digit, BlinkingDigit } from 'react-led-digit';
|
|
|
19
20
|
</div>;
|
|
20
21
|
```
|
|
21
22
|
|
|
22
|
-
|
|
23
|
+
Styled segments example (see [sandbox](https://codesandbox.io/p/sandbox/react-led-digit-forked-c4f2v3)):
|
|
23
24
|
|
|
24
25
|
```tsx
|
|
25
26
|
import { Digit, BlinkingDigit } from 'react-led-digit';
|