Login:Src:Types: change TCulturesOption type

This commit is contained in:
Darya Umrikhina 2024-08-13 16:31:25 +04:00
parent fa1cd6eea7
commit 07907568e7

View File

@ -1,3 +1,4 @@
import { isSeparator } from "@docspace/shared/utils/typeGuards";
// (c) Copyright Ascensio System SIA 2009-2024
//
// This program is a free software product.
@ -64,16 +65,21 @@ export type TError =
export type TTimeZoneOption = {
key: string | number;
label?: string;
label: string;
};
export type TCulturesOption = {
index?: number;
isBeta?: boolean;
key: string | number;
label?: string;
icon?: string | undefined;
};
export type TCulturesOption =
| {
isBeta?: boolean;
key: string | number;
label: string;
icon?: string;
}
| {
isBeta?: boolean;
key: string | number;
icon?: string;
};
export type WithLoaderProps = {
isLoaded: boolean;