@cryptic-css/prop-mq
Advanced tools
Comparing version 0.2.0 to 0.2.1
import ccss, { setProps } from '@cryptic-css/core'; | ||
import { mediaQuery } from '@w11r/use-breakpoint'; | ||
setProps({ | ||
mq: (prop, input) => { | ||
mq: input => { | ||
if (typeof input[0] === 'string') { | ||
@@ -6,0 +6,0 @@ input = [input]; |
{ | ||
"name": "@cryptic-css/prop-mq", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"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.0" | ||
"@cryptic-css/core": "^0.2.1" | ||
}, | ||
"gitHead": "204bc1505ce5ffa497273ac5595cf71a17f7d795" | ||
"gitHead": "dcd133f2ef9eb5ad9b3d85924c0e48f939f5b667" | ||
} |
@@ -5,3 +5,3 @@ import ccss, { setProps } from '@cryptic-css/core' | ||
setProps({ | ||
mq: (prop, input) => { | ||
mq: input => { | ||
if (typeof input[0] === 'string') { | ||
@@ -8,0 +8,0 @@ input = [input] |
3018