@wapps/react-scroll

0.0.8 • Public • Published

react-scroll

Build Status

React scroll compoment

Installation

npm install --save @wapps/react-scroll

How to use

import React from 'react';
import Scroll from '@wapps/react-scroll';

const App = messages => (
  <div style={{ overflow: 'scroll' }}>
    {messages.map((message, index) => (
      <Scroll key={index} behavior="smooth">
        {message}
      </Scroll>
    ))}
  </div>
);

export default App;

Live Demo

For a demo, check out https://hupe1980.github.io/wapps-components/

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.8
    0
    • latest

Version History

Package Sidebar

Install

npm i @wapps/react-scroll

Weekly Downloads

0

Version

0.0.8

License

MIT

Unpacked Size

5.07 kB

Total Files

5

Last publish

Collaborators

  • hupe1980