update example code

This commit is contained in:
Gani Georgiev
2026-06-04 15:57:41 +03:00
parent 5631d9b1c2
commit 4752ed84c7
+2 -1
View File
@@ -7,8 +7,9 @@ window.app.components = window.app.components || {};
* @example
* ```js
* app.components.colorPicker({
* value: () => data.color,
* predefinedColors: ["#ff0000", "#123456"],
* value: () => data.color,
* onchange: (newColor) => data.color = newColor,
* })
* ```
*