#How to set a default size for the Button component?
1 messages · Page 1 of 1 (latest)
size=sm,md,lg ?
In fact, what I wanted is for all buttons to have size "sm" by default
You can create your own component based on the NextUI one and set the default size to "sm"
This was the way I used, but I thought I would have a way without needing to encapsulate the component. Anyway, thanks for your attention
We don’t provide global properties because it would overcomplicate the API imagine adding the default prop per each component it will be endless