mirror of https://github.com/ghostfolio/ghostfolio
committed by
GitHub
11 changed files with 63 additions and 16 deletions
@ -1,4 +0,0 @@ |
|||||
export interface ToggleOption { |
|
||||
label: string; |
|
||||
value: string; |
|
||||
} |
|
||||
@ -0,0 +1,9 @@ |
|||||
|
interface BaseToggleOption { |
||||
|
value: string; |
||||
|
} |
||||
|
|
||||
|
export type ToggleOption = BaseToggleOption & |
||||
|
( |
||||
|
| { iconName: string; label?: never; title: string } |
||||
|
| { iconName?: never; label: string; title?: never } |
||||
|
); |
||||
Loading…
Reference in new issue