Replies: 3 comments
-
Or, since the project name is mantine-datatable, we could use |
Beta Was this translation helpful? Give feedback.
-
This would kind of break the css encapsulation principle that both Mantine and this library are built upon. |
Beta Was this translation helpful? Give feedback.
-
The whole reason behind this idea was because I couldn't reach the pagination This first image is the table without the pagination component. But in this second image the pagination component appears in the middle of the other Having a default className for it would make it easier to reference it in the css. |
Beta Was this translation helpful? Give feedback.
-
I think adding some default classes to some components would make using css a lot easier. Imagine you want to style the pagination section of the table, since there is no className, and its existence (the pagination section) only display in the tree when demanded, we cant easily reach it using only css.
Using the earlier context, the ideia was to name the pagination section as
mantine-TablePagination-root
or something like this.Beta Was this translation helpful? Give feedback.
All reactions