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
Currently the Breadcrumbs React component does not have a spread attribute, so a user cannot pass in anything outside of the defined props to be rendered, like an id.
Justification
I think it is reasonable to expect an end user to want to pass in an id attribute, for example, to a component and have that be rendered in the DOM. There are also data attributes that different application may need to pass in.
By adding a spread attribute to the component, Breadcrumbs would be able to accept these additional attributes.
Available extra resources
I can help with this 👍
The text was updated successfully, but these errors were encountered:
Summary
Currently the
Breadcrumbs
React component does not have a spread attribute, so a user cannot pass in anything outside of the defined props to be rendered, like anid
.Justification
I think it is reasonable to expect an end user to want to pass in an
id
attribute, for example, to a component and have that be rendered in the DOM. There are also data attributes that different application may need to pass in.By adding a spread attribute to the component,
Breadcrumbs
would be able to accept these additional attributes.Available extra resources
I can help with this 👍
The text was updated successfully, but these errors were encountered: