feat: add UserInterfaceStyle enum

This commit is contained in:
Vasil Chimev
2019-09-30 17:59:57 +03:00
parent feebb048bb
commit baba2c8789
2 changed files with 25 additions and 2 deletions

View File

@@ -641,8 +641,10 @@ export module AnimationCurve {
}
/**
* Specifies the types of the status bar style.
*/
* @deprecated use `UserInterfaceStyle` instead.
*
* Specifies the types of the status bar style.
*/
export module StatusBarStyle {
/**
* The light style of the status bar - light background with dark letters.
@@ -654,3 +656,19 @@ export module StatusBarStyle {
*/
export const dark: string;
}
/**
* Specifies the types of the user interface style.
*/
export module UserInterfaceStyle {
/**
* The light style of the user interface.
*/
export const light: string;
/**
* The dark style of the user interface.
*/
export const dark: string;
}

View File

@@ -187,3 +187,8 @@ export module StatusBarStyle {
export const light = "light";
export const dark = "dark";
}
export module UserInterfaceStyle {
export const light = "light";
export const dark = "dark";
}