We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using create-react-app, added a simple example as per the README
I just see a blank screen. Is CSS or something else required to get up and running?
import React from "react"; import Carousel from 're-carousel' class KwGame extends React.Component { render() { return ( <Carousel auto> <div style={{backgroundColor: 'tomato', height: '100%'}}>Frame 1</div> <div style={{backgroundColor: 'orange', height: '100%'}}>Frame 2</div> <div style={{backgroundColor: 'orchid', height: '100%'}}>Frame 3</div> </Carousel> ); } } export default KwGame
DOM stuff appears to be there, just doesn't show up.
The text was updated successfully, but these errors were encountered:
wrapping up with specific size of container
import React from "react"; import Carousel from 're-carousel' class KwGame extends React.Component { render() { return ( <div style={{width: 300, height: 300}}> <Carousel auto> <div style={{backgroundColor: 'tomato', height: '100%'}}>Frame 1</div> <div style={{backgroundColor: 'orange', height: '100%'}}>Frame 2</div> <div style={{backgroundColor: 'orchid', height: '100%'}}>Frame 3</div> </Carousel> </div> ); } } export default KwGame
Sorry, something went wrong.
No branches or pull requests
using create-react-app, added a simple example as per the README
I just see a blank screen.
Is CSS or something else required to get up and running?
DOM stuff appears to be there, just doesn't show up.
The text was updated successfully, but these errors were encountered: