Useful interpolated functions for CSS-in-JS
getStyle
. It was a terrible idea.getStyle
overriding defaultProps
.getStyle
(#44).ifNotProp
(#43).call
(deprecated in v0.4.0
);defaultValue
on switchProp
(deprecated in v0.4.0
);withProp
now supports array as argument to grab multiple props (#41 #42);foo.bar.baz
instead of ['foo', 'bar', 'baz']
Changes in #39
withProp
;call
in favor of withProp
;defaultValue
as third argument in switchProp
in favor of switchProp(prop(path, default), {...})
form.Deprecations will be removed in v0.5.0
Removed get
(deprecated in v0.2.0 in favor of prop
)
Added ES bundle, thanks to @stevenbenisek (#38)
Added defaultValue
to switchProp
, thanks to @nderscore (#35)
Added call
method.