1 npm install react-custom-scrollbars --save 基本用法 1 2 3 4 5 6 7 8 9 10 import { Scrollbars } from 'react-custom-scrollbars'; class App extends Component { render() { return ( <Scrollbars style={{ width: 500, height: 300 }}> Some great content... </Scrollbars> ); }...
forked from malte-wessel/react-custom-scrollbars Notifications Fork 3 Star 0 Files master docs examples src test .babelrc .eslintignore .eslintrc .gitignore .npmignore .nvmrc .travis.yml CHANGELOG.md CODE_OF_CONDUCT.md LICENSE.md README.md karma.conf.js package.json prepublish.js test....
Mikeks81 commented Feb 17, 2017 `` ** custom component ** import React, { Component } from 'react' import { Scrollbars } from 'react-custom-scrollbars' import '../css/components/custom-scrollbar.css' export default class CustomScrollbars extends Component { render () { console.log(thi...
recast "^0.11.17" component-bind@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/component-bind/-/component-bind-1.0.0.tgz#00c608ab7dcd93897c0009651b1d3a8e1e73bbd1" component-emitter@1.1.2: version "1.1.2"