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

This guideline is defined in the following spec
Thanks for the awesome library :)
labelelements should only contain phrasing content, which does not includedivelements. The checkbox example is technically invalid for this reason since theCheckboxcomponent is wrapped in aBoxwhich 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 aspanThis guideline is defined in the following spec
Thanks for the awesome library :)