Skip to content

Instantly share code, notes, and snippets.

@TimonVS
Created February 15, 2017 16:03
Show Gist options
  • Save TimonVS/773f0030e296fd9d05e4140c241205ea to your computer and use it in GitHub Desktop.
Save TimonVS/773f0030e296fd9d05e4140c241205ea to your computer and use it in GitHub Desktop.

Button

API

Property Description Type Default
type Can be set to default, ghost, link string default
theme Can be set to primary, secondary, error string primary
size Size of the button. Can be set to xs, sm, md, mdw, lg, xl string md
href When provided the component will render as an <a> instead of <button> string ''
loading Renders loading indicator inside button boolean false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment