Skip to content

Commit

Permalink
fix: Fixed code block of "Usage"
Browse files Browse the repository at this point in the history
  • Loading branch information
nachovigilante committed Jul 25, 2022
1 parent bf5cb86 commit 7edebbd
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,13 @@ A React component that simulates a 7-segment display.

### Adding the component to your project

```jsx
import { Display } from 'react-7-segment-display';
```jsx
import { Display } from "react-7-segment-display";

const App = () => (
<Display count="2" value="77" />
);
const App = () => <Display count="2" value="77" />;

export default App;
```
export default App;
```

## Props

Expand Down

0 comments on commit 7edebbd

Please sign in to comment.