1.0.24 • Published 10 months ago
@os-design/media v1.0.24
@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.24
10 months ago
1.0.19
1 year ago
1.0.22
1 year ago
1.0.21
1 year ago
1.0.20
1 year ago
1.0.23
12 months ago
1.0.18
1 year ago
1.0.17
1 year ago
1.0.16
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.3
3 years ago
1.0.0
3 years ago