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
I noticed <StackItem /> and <SplitItem /> always render as a <div> but their parents (<Stack /> and <Split />) allow for a component prop that lets you specify what element to use. If you do something like <Stack component="span"><StackItem>, you'll get <span><div>, which is invalid HTML. We should allow for customization on the element rendered as the split/stack items.
The text was updated successfully, but these errors were encountered:
I noticed
<StackItem />
and<SplitItem />
always render as a<div>
but their parents (<Stack />
and<Split />
) allow for acomponent
prop that lets you specify what element to use. If you do something like<Stack component="span"><StackItem>
, you'll get<span><div>
, which is invalid HTML. We should allow for customization on the element rendered as the split/stack items.The text was updated successfully, but these errors were encountered: