Changed the theme selection function

This commit is contained in:
MaxOvs19 committed 2023-01-27 17:23:25 +03:00
1 parent 102fb5a7b1
commit fe91c1206e
14 files changed
+113 -140

No files matched your search

+2 -3
View File
@@ -26,10 +26,9 @@ export interface ICgSelect {
*/
items?: IItems[] | string[] | any;
/**
* An optional parameter that is responsible for enabling a light / dark theme by default, the dark theme is set (darkTheme == true).
* @type {boolean}
* An optional parameter responsible for switching between different themes, the classic theme is set by default.
* @type {string}
*/
darkTheme?: boolean;
theme?: string;
/**
* An optional parameter that adds a live search on the select elements.