1.1.2 • Published 3 years ago

@clustree/scroll v1.1.2

Weekly downloads
15
License
MIT
Repository
github
Last release
3 years ago

@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>
);
1.1.1

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.2

4 years ago

1.0.1

5 years ago

1.0.0

5 years ago