Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
fix: added Warning for passing prop in media query
Browse files Browse the repository at this point in the history
  • Loading branch information
Viraj-10 authored Oct 17, 2023
1 parent 68a1888 commit c300fda
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions example/storybook/src/api/ResponsiveStyles/index.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ Once configured, you can apply different styles at different breakpoints.
/>
</AppProvider>


> Note that the '@' symbol indicates a media query.The '@' symbol should be followed by the name of the desired breakpoint for the styles.
> Note that the same API can be used with the sx prop to override styles inline.
> Caution: Utilizing the `Passing Props` feature within `Media Queries` is not supported.

0 comments on commit c300fda

Please sign in to comment.