feat(datetime): add readonly prop (#17139)

This commit is contained in:
Simon Hänisch
2019-01-19 05:24:58 +13:00
committed by Manu MA
parent a6559a4ef4
commit d513e8a952
7 changed files with 28 additions and 3 deletions

View File

@ -1190,6 +1190,10 @@ export namespace Components {
*/
'placeholder'?: string | null;
/**
* If `true`, the datetime appears normal but is not interactive.
*/
'readonly': boolean;
/**
* The value of the datetime as a valid ISO 8601 datetime string.
*/
'value'?: string | null;
@ -1292,6 +1296,10 @@ export namespace Components {
*/
'placeholder'?: string | null;
/**
* If `true`, the datetime appears normal but is not interactive.
*/
'readonly'?: boolean;
/**
* The value of the datetime as a valid ISO 8601 datetime string.
*/
'value'?: string | null;