mirror of https://github.com/ghostfolio/ghostfolio
10 changed files with 57 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