You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
label elements should only contain phrasing content, which does not include div elements. The checkbox example is technically invalid for this reason since the Checkbox component is wrapped in a Box which defaults to a div. Would it be possible to provide a prop to change the type of tag that is used for this container element? For example, being able to set it to be a span
label
elements should only contain phrasing content, which does not includediv
elements. The checkbox example is technically invalid for this reason since theCheckbox
component is wrapped in aBox
which defaults to adiv
. Would it be possible to provide a prop to change the type of tag that is used for this container element? For example, being able to set it to be aspan
This guideline is defined in the following spec
Thanks for the awesome library :)
The text was updated successfully, but these errors were encountered: