1.0.1 • Published 1 year ago

@pansy/custom-scrollbar-react v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

🏗 安装

# npm install
$ npm install @pansy/custom-scrollbar-react --save

# yarn install
$ yarn add @pansy/custom-scrollbar-react

# pnpm install
$ pnpm i @pansy/custom-scrollbar-react

🔨 使用

import CustomScrollbar from '@pansy/custom-scrollbar-react';
import '@pansy/custom-scrollbar-react/scrollbar.less';

export default () => {
  return (
    <CustomScrollbar
      style={{
        maxHeight: 300,
      }}
    >
      <p>123</p>
      <p>124</p>
      <p>123</p>
      <p>124</p>
      <p>123</p>
      <p>124</p>
      <p>123</p>
      <p>124</p>
      <p>123</p>
      <p>124</p>
      <p>123</p>
      <p>124</p>
      <p>123</p>
      <p>124</p>
    </CustomScrollbar>
  )
}
1.0.1

1 year ago

1.0.0

1 year ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago