The project uses Styled Components and injects props the normal way without adding the $ symbol to pass down transient props. This has not triggered warnings in earlier versions of Styled Components. As of version 6 it is required and we should convert Styled Component props to transient props throughout the project.
Steps To Reproduce
Run the project in dev mode with yarn run start
Navigate to the site with any web browser
Open the console
The warning should be visible in the console.
What did you expect?
It should not trigger any warnings.
Version
No response
Optional Screenshots
No response
Relevant log output
Warning: React does not recognize the `buttonType` prop on a DOM element.
Contact Details
konstantin.ay@intunio.se
What happened?
The project uses Styled Components and injects props the normal way without adding the $ symbol to pass down transient props. This has not triggered warnings in earlier versions of Styled Components. As of version 6 it is required and we should convert Styled Component props to transient props throughout the project.
Steps To Reproduce
yarn run start
The warning should be visible in the console.
What did you expect?
It should not trigger any warnings.
Version
No response
Optional Screenshots
No response
Relevant log output