@clustree/scroll
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

@clustree/scroll

Install

# Yarn
yarn add @clustree/scroll

# NPM
npm install --save @clustree/scroll

Usage

// Import styles for <ScrollY />
import '@clustree/scroll/lib/index.css';
import { ScrollY } from '@clustree/scroll';

const darkBarkground = (
  <SizedContainer>
    <ScrollY>{contents}</ScrollY>
  </SizedContainer>
);

// or for light colored backgrounds
const lightBackground = (
  <SizedContainer>
    <ScrollY dark>{contents}</ScrollY>
  </SizedContainer>
);

Readme

Keywords

none

Package Sidebar

Install

npm i @clustree/scroll

Weekly Downloads

8

Version

1.1.2

License

MIT

Unpacked Size

57.4 kB

Total Files

19

Last publish

Collaborators

  • lpadier
  • louisdelbosc
  • esquevin