Prop passing allows you to pass properties to your styled component directly from the style configuration, also known as the component theme. This is very similar to defaultProps but with some added flair.
Unlike defaultProps that apply by default, when you pass props through the 'props' key, these props get passed to the component at render time based on the condition specified. This is particularly handy when you want to conditionally pass props to a component.For instance, you could use prop passing to modify a component's properties based on the screen size.
const StyledComponent = styled(
Caution: Utilizing the Passing Props feature within Media Queries is not supported.