@cryptic-css/prop-mq
Advanced tools
Comparing version 0.2.1 to 1.0.0
{ | ||
"name": "@cryptic-css/prop-mq", | ||
"version": "0.2.1", | ||
"version": "1.0.0", | ||
"description": "Adds support for the `mq` prop to write media queries using `@w11r/use-breakpoint`.", | ||
@@ -32,5 +32,5 @@ "author": "Victor Vincent <wintercounter+ccss@gmail.com>", | ||
"devDependencies": { | ||
"@cryptic-css/core": "^0.2.1" | ||
"@cryptic-css/core": "^1.0.0" | ||
}, | ||
"gitHead": "dcd133f2ef9eb5ad9b3d85924c0e48f939f5b667" | ||
"gitHead": "d0dcdf7f5d51ea8bc559db0eb37ac7660d8eaafe" | ||
} |
# `@cryptic-css/prop-mq` | ||
> Adds support to use the viewport sizing system behind `@w11r/use-breakpoint`'s | ||
> React hook. | ||
## Usage | ||
```js | ||
import ccss from 'cryptic-css' | ||
ccss({ | ||
m: 1, | ||
mq: {[ | ||
['mobile', { m: 2 }], | ||
['tablet', { m: 3 }] | ||
]} | ||
}) | ||
``` | ||
See: https://ccss.dev/docs/api-and-packages/prop-mq |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
2810
4