Closed athill closed 1 month ago
I think changing it to something like type
may be the simplest change here. I worry that rivetrole
may get confused with an ARIA role specific to Rivet.
I opened a PR using modifier
as the prop since that's what we actually use in Button
(though its PropType calls it role
).
:tada: This issue has been resolved in version 2.0.0-beta.7 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
The
Badge
andButton
components both have arole
prop that can take the value "secondary". When linting with thejsx/a11y
plugin, this results in the following error:We should change the name of this prop in these components to something that does not conflict. Maybe
rivetrole
?