Use the exising breakpoints
utlity in the new composible header
#4527
Labels
📦 components
Related to the @swisspost/design-system-components package
Header
Everything related to our composible header components
Milestone
In the new composible header component we use a custom breakpoint detection mechanism.
But there is a
breakpoints
utility which should be used, so we can reduce code, improve page performance and maintain the detection mechanism from a single source of truth.Have a look into the utility: https://github.com/swisspost/design-system/blob/main/packages/components/src/utils/breakpoints.ts
And how it is used in the
post-footer
component: https://github.com/swisspost/design-system/blob/main/packages/components/src/components/post-footer/post-footer.tsxThe text was updated successfully, but these errors were encountered: