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 style the container? #12

Open
umesh-timalsina opened this issue Feb 13, 2023 · 2 comments
Open

How to style the container? #12

umesh-timalsina opened this issue Feb 13, 2023 · 2 comments

Comments

@umesh-timalsina
Copy link

Basically, what if we wanted some custom styles to be added to the container for the virtual list, it seems like no properties are exported for that. Wanted to know a proper way of doing this without using global css.

@umesh-timalsina umesh-timalsina changed the title How to style the container How to style the container? Feb 13, 2023
@v1ack
Copy link
Owner

v1ack commented Jul 8, 2023

As for now, there are 3 css classes that you can extend.
You can do it globally, or in the parent with :global(.virtual-list-wrapper)

@flicksolutions
Copy link

Hi @v1ack
a class prop for the virtual-list-wrapper would be much appreciated. This would make it work more straight forward with things like tailwind.

Thank you for this awesome package!

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

3 participants