1.0.25 • Published 1 year ago
@os-design/media v1.0.25
@os-design/media

Utils and hooks for using CSS media queries. Can be used without os-design.
media
– Generates media queries.useIsMaxWidth
– Checks whether the width of the screen is less than or equal to the specified media breakpoint (for example, sm).useIsMinWidth
– Checks whether the width of the screen is greater than or equal to the specified media breakpoint (for example, md).useIsWidth
– Checks whether the width of the screen matches the condition defined by the specified function.
All hooks support SSR.
Installation
Install the package using the following command:
yarn add @os-design/media
See all the features in the Storybook.
1.0.25
1 year ago
1.0.24
2 years ago
1.0.19
2 years ago
1.0.22
2 years ago
1.0.21
2 years ago
1.0.20
2 years ago
1.0.23
2 years ago
1.0.18
3 years ago
1.0.17
3 years ago
1.0.16
3 years ago
1.0.15
3 years ago
1.0.14
3 years ago
1.0.13
3 years ago
1.0.12
3 years ago
1.0.11
3 years ago
1.0.10
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.3
4 years ago
1.0.0
4 years ago