fix(label): using prop for position

also fixes #14288
This commit is contained in:
Manu Mtz.-Almeida
2018-04-11 19:09:15 +02:00
committed by Manu MA
parent 641113f161
commit b1ee4b8e3a
22 changed files with 327 additions and 259 deletions

View File

@ -16,20 +16,6 @@ Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"wa
For more information, see [Theming your App](/docs/theming/theming-your-app).
#### fixed
boolean
If true, the label will sit alongside an input. Defaults to `false`.
#### floating
boolean
If true, the label will float above an input when the value is empty or the input is focused. Defaults to `false`.
#### mode
string
@ -39,11 +25,12 @@ Possible values are: `"ios"` or `"md"`.
For more information, see [Platform Styles](/docs/theming/platform-specific-styles).
#### stacked
#### position
boolean
string
If true, the label will be stacked above an input. Defaults to `false`.
The position determines where and how the label behaves inside an item.
Possible values are: 'inline' | 'fixed' | 'stacked' | 'floating'
## Attributes
@ -57,20 +44,6 @@ Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"wa
For more information, see [Theming your App](/docs/theming/theming-your-app).
#### fixed
boolean
If true, the label will sit alongside an input. Defaults to `false`.
#### floating
boolean
If true, the label will float above an input when the value is empty or the input is focused. Defaults to `false`.
#### mode
string
@ -80,11 +53,12 @@ Possible values are: `"ios"` or `"md"`.
For more information, see [Platform Styles](/docs/theming/platform-specific-styles).
#### stacked
#### position
boolean
string
If true, the label will be stacked above an input. Defaults to `false`.
The position determines where and how the label behaves inside an item.
Possible values are: 'inline' | 'fixed' | 'stacked' | 'floating'
## Events