Skip to content

Instantly share code, notes, and snippets.

@chantastic
Created July 18, 2016 21:10
Show Gist options
  • Save chantastic/b93c5dcdb5fd82f4477b01fac6c7d590 to your computer and use it in GitHub Desktop.
Save chantastic/b93c5dcdb5fd82f4477b01fac6c7d590 to your computer and use it in GitHub Desktop.
PrimaryBtn.jxs
const PrimaryBtn = ({
className,
...props
}) =>
<Btn
className={classNames("btn--primary", className)}
{...props}
/>
const Btn = ({
className,
...props
}) =>
<Button
type="button"
className={classNames("btn", className)}
{...props}
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment