react-ui-org / react-ui

React UI is a themeable and performant UI library for React apps.
https://react-ui.io
MIT License
21 stars 7 forks source link

Allow form fields' `label` to accept any node (#526) #543

Closed bedrich-schindler closed 3 months ago

bedrich-schindler commented 5 months ago

Closes #526

bedrich-schindler commented 5 months ago

Documentation does not specifically mention data type of labels, only in the props table. @adamkudrna @mbohal @dacerondrej, do you think we need to extend documentation of those components to mention this possibility or not? Personally, I do not see any additional value to this.

I expect to extend documentation of Popover to mention possibility to extend label with Popover (https://github.com/react-ui-org/react-ui/issues/489), but do not know what to say about it in documentation of inputs ...