@hanamura/react-use-media-query
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

⚛️ useMediaQuery

Usage

import { Button } from '@hanamura/react-use-media-query'
const mq = useMediaQuery('(min-width: 600px)', 'initial value') // => true | false | 'initial value'

Readme

Keywords

none

Package Sidebar

Install

npm i @hanamura/react-use-media-query

Weekly Downloads

1

Version

1.1.0

License

none

Unpacked Size

3.19 kB

Total Files

6

Last publish

Collaborators

  • hanamura