Skip to content

Commit

Permalink
fix(README): Changed 'skew' type from 'boolean?' to 'boolean'
Browse files Browse the repository at this point in the history
  • Loading branch information
nachovigilante committed Jul 29, 2022
1 parent 0cf0883 commit bb20536
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A React component that simulates a 7-segment display.

![Display demo](./assets/Display.gif)
![Display demo](./assets/Display.gif)

## Usage

Expand All @@ -22,14 +22,14 @@ export default App;

## Props

| Name | Decription | Type | Default value |
| -------------- | ---------------------------------------------------------- | ---------- | ------------- |
| value | Value displayed on the display (in decimal or hexadecimal) | `any` | `null` |
| color | Color of the display segments when turned on | `string` | `"red"` |
| height | Total height of the display digits | `number` | `250` |
| count | Amount of digits on the display | `number` | `2` |
| bakgroundColor | Color of the background | `string?` | n/a |
| skew | Whether the digits are skewed or not | `boolean?` | `false` |
| Name | Decription | Type | Default value |
| -------------- | ---------------------------------------------------------- | --------- | ------------- |
| value | Value displayed on the display (in decimal or hexadecimal) | `any` | `null` |
| color | Color of the display segments when turned on | `string` | `"red"` |
| height | Total height of the display digits | `number` | `250` |
| count | Amount of digits on the display | `number` | `2` |
| bakgroundColor | Color of the background | `string?` | n/a |
| skew | Whether the digits are skewed or not | `boolean` | `false` |

### Valid values for `value`

Expand Down

0 comments on commit bb20536

Please sign in to comment.