Fix AppBar doc (#1407)

old
Kiko Beats 2017-05-09 17:02:33 +02:00 committed by Javi Velasco
parent d2eee5ad4f
commit 06cbc41f3b
1 changed files with 12 additions and 12 deletions

View File

@ -30,18 +30,18 @@ The `AppBar` component provides properties for the common use cases of `title`,
## Properties ## Properties
| Name | Type | Default | Description| | Name | Type | Default | Description |
|:-----|:-----|:-----|:-----| |:-------------------|:-----------------|:--------|:----------------------------------------------------------------|
| `className` | `String` | `''` | Set a class for the root component.| | `className` | `String` | `''` | Set a class for the root component. |
| `fixed` | `Bool` | `false` | Determine if the bar should have position `fixed` or `relative`.| | `fixed` | `Bool` | `false` | Determine if the bar should have position `fixed` or `relative`.|
| `flat` | `Bool` | `false` | If true, the AppBar doesn't show a shadow.| | `flat` | `Bool` | `false` | If true, the AppBar doesn't show a shadow. |
| `theme` | `Object` | `null` | Classnames object defining the component style.| | `theme` | `Object` | `null` | Classnames object defining the component style. |
| `title` | `String|Element` | `null` | Title used for the appbar.| | `title`           | `String\|Element` | `null` | Title used for the appbar. |
| `leftIcon` | `String|Element` | `null` | Left icon.| | `leftIcon`         | `String\|Element` | `null` | Left icon. |
| `onLeftIconClick` | `Function` | `null` | Called on left icon click event.| | `onLeftIconClick` | `Function` | `null` | Called on left icon click event. |
| `rightIcon` | `String|Element` | `null` | Right icon.| | `rightIcon`       | `String\|Element` | `null` | Right icon. |
| `onRightIconClick` | `Function` | `null` | Called on right icon click event.| | `onRightIconClick` | `Function` | `null` | Called on right icon click event. |
| `scrollHide` | `Bool` | `false` | Whether AppBar should be hidden during scroll.| | `scrollHide` | `Bool` | `false` | Whether AppBar should be hidden during scroll. |
## Theme ## Theme