Skip to content

React component to display ever-changing content.

License

Notifications You must be signed in to change notification settings

attogram/react-tidbits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Tidbits

react-tidbits

a React component to show ever-changing content.

Demo: https://attogram.github.io/react-tidbits/

/**
 * 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",
 *      (<span><b>JSX</b> message</span>),
 *   ];
 *
 *   <Tidbits
 *      interval={interval}
 *      order={order}
 *      tidbits={tidbits}
 *   />
 *
 * 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!

About

React component to display ever-changing content.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published