Skip to content
New issue

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

how to play only 1 item and scroll 1 by 1 not the whole page? #30

Open
Pom-Veerawat opened this issue Jun 16, 2023 · 1 comment
Open

Comments

@Pom-Veerawat
Copy link

No description provided.

@pj-alvarado10
Copy link

You can decide the size of your objects:

For exampe:

 <Carousel cols={1} rows={1} gap={10} loop>
  {
      yourItems
           .map(( item, index ) => (
                 <Carousel.Item key={ index }>  
                      <div className="your-styles">
                      </div>
                   </Carousel.Item>
  }
           
</Carousel>

where yourItems is your list of items to show in the carousel and in your-styles you can put the width, the height and the properties that you want.

P.D.: The library has some bugs in responsive views, and it doesn't have updates, I really want that the library is updated and would have support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants