feat: add iconClass option to widget interface

Added optional iconClass property to IWidgetOptions to support icon display in widget buttons.
This commit is contained in:
Johnpaul
2025-11-25 01:42:14 +01:00
parent e1693dc341
commit a455c7be4c

View File

@@ -32,6 +32,8 @@ export interface IWidgetOptions<TValues = unknown[]> {
/** Optional function to format values for display (e.g., hash → human-readable name) */
getOptionLabel?: (value?: string | null) => string
callback?: IWidget['callback']
iconClass?: string
}
interface IWidgetSliderOptions extends IWidgetOptions<number[]> {