react-accessible-accordion
react-accessible-accordion copied to clipboard
AccordionItemButton doesn't include explicit type attribute
The AccordionItemButton is causing errors in my linter, I'm assuming the underlying <button>
being rendered doesn't explicitly have a type (ie: <button type="button"></button>
).
It's not a huge deal, I can just ignore the linter error or write something in to ignore that error. Just thought I would pass it along.
Specific error message:
error Missing an explicit type attribute for button react/button-has-type