react styled component type script code example
Example: styled components props typescript
# to prevent typescript error, install this
yarn add @types/styled-components
# NPM
npm install @types/styled-components
# to prevent typescript error, install this
yarn add @types/styled-components
# NPM
npm install @types/styled-components