@cryptic-css/prop-scroll
Advanced tools
Comparing version 0.1.2 to 0.2.0
@@ -13,3 +13,3 @@ import { setProps } from '@cryptic-css/core'; | ||
setProps({ | ||
scroll(input, _ref) { | ||
scroll(prop, input, _ref) { | ||
let { | ||
@@ -16,0 +16,0 @@ maxw, |
{ | ||
"name": "@cryptic-css/prop-scroll", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"description": "Add support for the `scroll` prop to easily create horizontal/vertical/both scrollable elements.", | ||
@@ -29,5 +29,5 @@ "author": "Victor Vincent <wintercounter+ccss@gmail.com>", | ||
"devDependencies": { | ||
"@cryptic-css/core": "^0.1.2" | ||
"@cryptic-css/core": "^0.2.0" | ||
}, | ||
"gitHead": "fee5891d90bcf90b20883af1af195e53a16bd5fa" | ||
"gitHead": "204bc1505ce5ffa497273ac5595cf71a17f7d795" | ||
} |
@@ -15,3 +15,3 @@ import { setProps } from '@cryptic-css/core' | ||
setProps({ | ||
scroll(input, { maxw, maxh }) { | ||
scroll(prop, input, { maxw, maxh }) { | ||
switch (input) { | ||
@@ -18,0 +18,0 @@ case 'x': |
3424