Getting a typescript error on my styled-component
Type \'{ children: string; }\' has no properties in common with type \'IntrinsicAttributes\'.ts(2559
Ok like it was stated above just to clarify if you create a component
it automatically passes props to it and if when u declare it
const DeliverNow = () => {}
Typescript would tell you that they don't match cuz, in reality, DeliverNow takes in some props
so in actual sense, its meant to be
const DeliverNow = (props:any) => {}