Skip to content

Instantly share code, notes, and snippets.

@Keyes
Last active September 21, 2020 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Keyes/2ba4fbdeb5a26ef89e41ee1e86908bc4 to your computer and use it in GitHub Desktop.
Save Keyes/2ba4fbdeb5a26ef89e41ee1e86908bc4 to your computer and use it in GitHub Desktop.
Example readme file for button component in ThomannUI via React-Styleguidist
Button appearances examples with onClick event:
white:
```js
<Button href="test" appearance="white" title="Button title" onClick={alert.bind(null, 'onClick triggered!')}>Button text</Button> 
<Button href="test" appearance="white" title="Button title" disabled onClick={alert.bind(null, 'onClick triggered!')}>Disabled Button text</Button>
```
light:
```js
<Button href="test" appearance="light" title="Button title" onClick={alert.bind(null, 'onClick triggered!')}>Button text</Button>
<Button href="test" appearance="light" title="Button title" disabled onClick={alert.bind(null, 'onClick triggered!')}>Disabled Button text</Button>
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment