UNPKG

@multiplay/ui

Version:

UI kit for Unity and Multiplay applications

27 lines (17 loc) 514 B
# Button Button is a class component that can handle a number of props and states. By default it renders a styled `<button>` and it **MUST** be included inside a theme provider from this package as the various button skins rely on the theme variables to work. --- ## Usage Install ``` yarn add @multiplay/ui ``` Include ```javascript import { Button } from '@multiplay/ui'; ``` Implement as follows ```javascript <Button>Button text</Button> ``` ### For full prop types and usage see storybook info/knobs