@fabric-ds/match-media
v0.9.0
Published
## install
Downloads
3
Keywords
Readme
match-media plugin
install
pnpm add -D @fabric-ds/match-media
use
import { setupMedia } from '@fabric-ds/match-media'
setupMedia((mediaChange) => {
console.log("Window size changed", mediaChange.name, "is now", mediaChange.matches)
})