Created
July 18, 2016 21:10
-
-
Save chantastic/b93c5dcdb5fd82f4477b01fac6c7d590 to your computer and use it in GitHub Desktop.
PrimaryBtn.jxs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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