Skip to content

Commit

Permalink
docs(readme): 📝 update
Browse files Browse the repository at this point in the history
  • Loading branch information
co-bby committed Nov 5, 2023
1 parent aa56935 commit 04598db
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ To use the React Read Progress Component in your React application, import it an

```jsx
import React from 'react';
import ReadProgress from 'readprogress';
import { ReadProgress } from 'readprogress';

export default function MyComponent{
return (
Expand All @@ -46,9 +46,7 @@ export default function MyComponent{
<ReadProgress
color="#ff0000"
height={4}
scrollOffset={100}


scrollOffset={100}
/>
```

Expand Down

0 comments on commit 04598db

Please sign in to comment.