Repository navigation
Replies: 1 comment
|
Confirmed, this is a real inconsistency between components, not something you're doing wrong. I checked the source: // button/src/Button.tsx
const configSize = mergedComponentPropsRef?.value?.Button?.size
if (configSize) return configSize
So each component has to opt into reading |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
All of
n-input,n-selectandn-buttonsupport asizeprop. But it seems only buttons respond to a default setting i.e. this works...and buttons respond. The below doesn't work (fields/selects don't respond):
That seems to be confirmed by this changelog entry. Is that right, that it should not work with
n-inputandn-select?All reactions