Closed cassandradanger closed 4 months ago
https://github.com/trussworks/react-uswds/blob/3e6f1cbab726baae23403d103115e3946eeafe10/src/components/Button/Button.tsx#L4C13-L4C24
I've been running into an issue when consuming this button component via the CDS library, and it's not acknowledging styles passed through a className prop - but it does work if I change it to "class" - which then throws a React warning
https://github.com/trussworks/react-uswds/blob/3e6f1cbab726baae23403d103115e3946eeafe10/src/components/Button/Button.tsx#L4C13-L4C24
I've been running into an issue when consuming this button component via the CDS library, and it's not acknowledging styles passed through a className prop - but it does work if I change it to "class" - which then throws a React warning