Skip to content

Instantly share code, notes, and snippets.

@carl0zen
Created November 18, 2016 20:44
Show Gist options
  • Save carl0zen/e35be27d5e00d7de939bc4774b260c90 to your computer and use it in GitHub Desktop.
Save carl0zen/e35be27d5e00d7de939bc4774b260c90 to your computer and use it in GitHub Desktop.
Example of how to consume a Core UI Button component
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