Add a progress bar
This commit is contained in:
parent
2701eb9076
commit
334cf002fa
4 changed files with 51 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue