Last updated 1 year ago
Buttons are used to perform actions in the product.
Good to know: you can embed a Storybook canvas by simple pasting the canvas link and hitting enter.
These examples are taken from the excellent .
<Button label="Label" size="medium" kind="default" onClick={doTheThing} />
<Button label="Label" size="medium" kind="primary" onClick={doTheThing} />
<Button label="Label" size="medium" kind="secondary" onClick={doTheThing} />