Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chaudhuree/ra-ticker
Ticker Renders a ticker component. Use the React.useState() hook to initialize the ticker state variable to 0. Define two methods, tick and reset, that will periodically increment timer based on interval and reset interval respectively. Return a <div> with two <button> elements, each of which calls tick and reset respectively.
https://github.com/chaudhuree/ra-ticker
Last synced: 4 days ago
JSON representation
Ticker Renders a ticker component. Use the React.useState() hook to initialize the ticker state variable to 0. Define two methods, tick and reset, that will periodically increment timer based on interval and reset interval respectively. Return a <div> with two <button> elements, each of which calls tick and reset respectively.
- Host: GitHub
- URL: https://github.com/chaudhuree/ra-ticker
- Owner: chaudhuree
- Created: 2022-04-07T15:17:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-07T15:18:16.000Z (over 2 years ago)
- Last Synced: 2023-02-28T10:31:17.247Z (over 1 year ago)
- Language: JavaScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0