Add colors that show the current state

This commit is contained in:
uwap 2017-09-17 18:46:07 +02:00
parent a9ff3d9f35
commit 30adb36bae
3 changed files with 34 additions and 2 deletions

View file

@ -34,6 +34,7 @@ declare type Control = {
name: string,
position: Array<number>,
icon: string,
iconColor?: (state: Map<string,any>) => string,
ui: Array<ControlUI>
};
declare type Controls = Map<string,Control>;