2015-07-06 13:53:37 +03:00
|
|
|
# Link
|
|
|
|
|
|
|
|
```
|
|
|
|
var Link = require('react-toolbox/components/link');
|
|
|
|
|
2015-09-19 19:20:11 +03:00
|
|
|
<Link route='http://google.com' label='Go to Google.com' />
|
2015-07-06 13:53:37 +03:00
|
|
|
<Link route='/profile/soyjavi' icon='user' />
|
|
|
|
```
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
|
|
|
| Name | Type | Default | Description|
|
|
|
|
|:- |:-: | :- |:-|
|
2015-09-19 19:20:11 +03:00
|
|
|
| **label** | String | "normal" | he text string to use for the floating label element.|
|
2015-07-06 13:53:37 +03:00
|
|
|
| **className** | String | | Sets the class-styles of the Component.|
|
2015-09-19 19:20:11 +03:00
|
|
|
| **count** | Number | | Sets a count number behind label property.|
|
2015-07-06 13:53:37 +03:00
|
|
|
| **icon** | String | | Sets a <FontIcon/> sub-component.|
|
|
|
|
| **onClick** | Function | | Dispatch event when user clicks on component.|
|
|
|
|
| **route** | String | | URL String|
|