Skip to content

Instantly share code, notes, and snippets.

@illycz
Created October 12, 2016 11:42
Show Gist options
  • Save illycz/f0ebde1881a940f6a61b3ec2c94cfcff to your computer and use it in GitHub Desktop.
Save illycz/f0ebde1881a940f6a61b3ec2c94cfcff to your computer and use it in GitHub Desktop.
import c from "classnames"
import s from "./index"
export const padding = (...args) => {
const [[a, b, c, d], mq] = args
if (mq) {
return c(
s.padding(a + b + c + d, mq),
)
}
return c(
s.padding(a + b + c + d),
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment