import classnames from 'classnames';
import React from 'react';
import {Scrollbars} from 'react-custom-scrollbars';
export default class CustomScrollbar extends React.Component {
getHorizontalThumb(props) {
return (
);
}
getVerticalThumb(props) {
return (
);
}
renderView(props) {
return (
{props.children}
);
}
render() {
let classes = classnames('scrollbars', {
[this.props.className]: this.props.className,
'is-inverted': this.props.inverted
});
return (
{this.props.children}
);
}
}
CustomScrollbar.defaultProps = {
className: '',
inverted: false,
nativeScrollHandler: null,
scrollHandler: null
};