Add a progress bar

This commit is contained in:
uwap 2018-01-21 11:26:45 +01:00
parent 2701eb9076
commit 334cf002fa
4 changed files with 51 additions and 1 deletions

View file

@ -84,6 +84,15 @@ declare type UIText = $ReadOnly<{|
icon?: string
|}>;
declare type UIProgress = $ReadOnly<{|
type: "progress",
text: string,
topic: string,
icon?: string,
min?: number,
max?: number
|}>;
declare type ControlUI =
UIToggle
| UIDropDown
@ -91,6 +100,7 @@ declare type ControlUI =
| UISection
| UILink
| UIText
| UIProgress
declare type Control = {
name: string,