Start of the trasition to TS

This commit is contained in:
MaxOvs
2023-01-05 18:21:10 +03:00
parent 4af10dd476
commit ce3b928635
12 changed files with 733 additions and 48 deletions

View File

@ -0,0 +1,20 @@
import { IItems } from "./items.interface";
export interface ISgSelect {
selector: string;
selected?: string;
placeholder?: string;
items?: IItems[]| string[] | any;
darkTheme?: boolean;
searchMode?: boolean;
closeOnSelect?: boolean;
nativeSelectMode?: boolean;
listDisplayMode?: boolean;
language?: string;
lable?:string;
styles?: object;
event?: string;
url?: string;
multiselect?: boolean;
multiselectTag?: boolean;
}

View File

@ -0,0 +1,5 @@
export interface IItems{
id: string;
title: string;
value: number | string
}