mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-25 19:58:30 +03: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> {
|
||||
mode: Mode
|
||||
config: Array<[Mode, IntlString, object]>
|
||||
onChange: (_mode: string) => void
|
||||
onChange: (mode: Mode) => void
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user