@multiplay/ui
Version:
UI kit for Unity and Multiplay applications
27 lines (17 loc) • 443 B
Markdown
# Icon
Icon renders a standard `<svg>` with themed styling. It has a range of pre-defined icons to choose from. These have been normalised to work in a square viewport for consistent render
-------
## Usage
Install
```
yarn add @multiplay/ui
```
Include
```javascript
import { Icon } from '@multiplay/ui';
```
Implement as follows
```javascript
<Icon icon='dashboard' />
```
### For full prop types and usage see storybook info/knobs