fix(label): placeholder + floating label (#16111)

* fix(label): placeholder + floating label

* fix placeholder type

* update docs

* uodate docs
This commit is contained in:
Manu MA
2018-11-02 22:15:28 +01:00
committed by GitHub
parent 4a2a458cc9
commit a8be5291bb
12 changed files with 205 additions and 156 deletions

View File

@ -1766,7 +1766,7 @@ export namespace Components {
/**
* Instructional text that shows before the input has a value.
*/
'placeholder'?: string;
'placeholder'?: string | null;
/**
* If `true`, the user cannot modify the value.
*/
@ -1912,7 +1912,7 @@ export namespace Components {
/**
* Instructional text that shows before the input has a value.
*/
'placeholder'?: string;
'placeholder'?: string | null;
/**
* If `true`, the user cannot modify the value.
*/
@ -4670,7 +4670,7 @@ export namespace Components {
/**
* Instructional text that shows before the input has a value.
*/
'placeholder'?: string;
'placeholder'?: string | null;
/**
* If `true`, the user cannot modify the value.
*/
@ -4768,7 +4768,7 @@ export namespace Components {
/**
* Instructional text that shows before the input has a value.
*/
'placeholder'?: string;
'placeholder'?: string | null;
/**
* If `true`, the user cannot modify the value.
*/