Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnguyen11 authored Dec 22, 2019
1 parent 64137b9 commit 24f541e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $ yarn add react-is-in-viewport
|--|--|--|--|
| children | React Node or string | | React component or string that display in UI |
| delay | number | 100 | Delay time to execute scrolling event callback |
| type | 'fit' or 'overlap' | fit | Mode to track component the component fits in the viewport or overlaps with viewport |
| type | 'fit' or 'overlap' | fit | Mode to track component fits in the viewport or overlaps with viewport |
| id | string | | Identifier of Viewport |
| className | string | | Custom CSS class |
| autoTrack | boolean | false | It will count how many `seconds` the user spending on the component |
Expand Down Expand Up @@ -155,4 +155,4 @@ class App extends React.Component {
}

ReactDOM.render(<App />, document.getElementById('root'));
```
```

0 comments on commit 24f541e

Please sign in to comment.