Skip to content

0.8.4

Compare
Choose a tag to compare
@fuzetsu fuzetsu released this 05 Dec 19:28
· 37 commits to master since this release

Fixed bug with function helpers where empty string would be passed as first arg when no args were passed, causing default args not to work:

z.helper({ test: (x = 5) => `margin ${x}` })

z`test` // this would result in no style being applied, since x would be '' instead of defaulting to 5