Created
November 18, 2016 20:44
-
-
Save carl0zen/e35be27d5e00d7de939bc4774b260c90 to your computer and use it in GitHub Desktop.
Example of how to consume a Core UI Button component
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
import React from "react" | |
import Button from "components/core/button" | |
const = Component = () => <Button theme={ Button.theme.secondary }>Some Button</Button> | |
export default Component |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment