An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

# React Tidbits

[![react-tidbits](https://raw.githubusercontent.com/attogram/attogram-docs/master/react-tidbits/react-tidbits.160.png)](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: ****