-
Notifications
You must be signed in to change notification settings - Fork 13
component is not working #20
Comments
Yes, for me to. Will be component supported? |
me too same error. |
Same error with v0.3.5 and react 16.2.0 |
Same problem here with react 16.4.0 and react-scroll-box 0.3.5 |
Works for me (react 16.4.1 react-scroll-box 0.3.5):
|
Hey guys, looks like ScrollAxis was removed without the readme being updated. Since <ScrollBox style={{height: '200px'}} axes={ScrollAxes.Y} fastTrack={FastTrack.PAGING}>
Place any content here.
</ScrollBox> will fail because After a quick skim through the code, @Haldor9000's comment is correct where he removed the A working example would look like: import { ScrollBox, FastTrack } from 'react-scroll-box'; // ES6
<ScrollBox style={{height: '200px'}} fastTrack={FastTrack.PAGING} disableScrollX>
Place any content here.
</ScrollBox> |
I am getting a different issue: Could not find a declaration file for module 'react-scroll-box'. |
FastTrack also not defined.. I think this library is not managed anymore |
TypeError: Cannot read property 'Y' of undefined
3 | import {ScrollBox, ScrollAxes, FastTrack} from 'react-scroll-box'; // ES6
4 |
5 | const TestContainer = () => (
im using the npm install react-scroll-box with all the latest versions of create-react-app and node.js and everythign the latest.. what gives?.. working on ubuntu 18.04, also tried installing with yarn... react just wont get the component
The text was updated successfully, but these errors were encountered: