mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-25 18:02:04 +00:00
EZQMS-461: Better typings for ModeSelector
(#4451)
Signed-off-by: Petr Vyazovetskiy <develop.pit@gmail.com>
This commit is contained in:
parent
f94cda3cff
commit
3a22ee1b96
@ -209,7 +209,7 @@ export function parseURL (text: string): string {
|
|||||||
export interface IModeSelector<Mode extends string = string> {
|
export interface IModeSelector<Mode extends string = string> {
|
||||||
mode: Mode
|
mode: Mode
|
||||||
config: Array<[Mode, IntlString, object]>
|
config: Array<[Mode, IntlString, object]>
|
||||||
onChange: (_mode: string) => void
|
onChange: (mode: Mode) => void
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user