Changed the theme selection function

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

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.