https://github.com/attogram/react-tidbits
React component to display ever-changing content.
https://github.com/attogram/react-tidbits
react-component
Last synced: 3 months ago
JSON representation
React component to display ever-changing content.
- Host: GitHub
- URL: https://github.com/attogram/react-tidbits
- Owner: attogram
- License: mit
- Created: 2019-05-18T16:40:24.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-09T18:01:53.000Z (over 5 years ago)
- Last Synced: 2025-01-16T18:02:46.933Z (4 months ago)
- Topics: react-component
- Homepage: https://attogram.github.io/react-tidbits/
- Size: 23.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# React Tidbits
[](https://github.com/attogram/react-tidbits)
_a React component to show ever-changing content._
Demo: ****
```javascript
/**
* React Tidbits - show ever-changing content
*
* example:
*
* // interval = milliseconds between changes. 1000 milliseconds = 1 second
* const interval = 2000;
*
* // order = "ordered" or "random". Optional, default is "ordered"
* const order = "random";
*
* // tidbits = an array of message, text strings or JSX
* const tidbits = [
* "Text message",
* (JSX message),
* ];
*
*
*
* License: MIT
* Repository: https://github.com/attogram/react-tidbits
*/
```# TODO
* repackage for npm
* publish to npm# License
**react-tidbits** is an open source project licensed under the MIT license.
# Developer Info
Contributions welcome!
* Main repo: ****