Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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