⚛️ useMediaQuery
Usage
import { Button } from '@hanamura/react-use-media-query'
const mq = useMediaQuery('(min-width: 600px)', 'initial value') // => true | false | 'initial value'
import { Button } from '@hanamura/react-use-media-query'
const mq = useMediaQuery('(min-width: 600px)', 'initial value') // => true | false | 'initial value'
npm i @hanamura/react-use-media-query
1
1.1.0
none
3.19 kB
6