pass custom props to styled components 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