Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 443 Bytes

File metadata and controls

28 lines (22 loc) · 443 Bytes

React Newsticker

A simple react newsticker component.

Usage

Import it.

import Newsticker from 'react-newsticker';

Pass an array in the props 'news' as data source.

const news = [
  'Hello World!',
  'Nice to meet you.',
  'Happy hour :)'
];
render() {
  return <Newsticker news={news} />
}

Demo

Click here to see the demo page.