react-scroll-shadow-pro
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

React Scroll Shadow Pro

Show shadow for hidden content in scrollable area.

Screenshot

Live Demo

npm install --save react-scroll-shadow-pro
import { ScrollShadow } from 'react-scroll-shadow-pro';
import { LoremIpsum } from 'react-lorem-ipsum';

function App() {
  return (
    <ScrollShadow style={{ maxHeight: 300 }}>
      <div style={{ padding: 10 }}>
        <LoremIpsum p={10} />
      </div>
    </ScrollShadow>
  );
}

Package Sidebar

Install

npm i react-scroll-shadow-pro

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

8.71 kB

Total Files

9

Last publish

Collaborators

  • guoyunhe