You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/wrapping-react/overview.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,7 @@ We also have a var `color` which is the current color of the color picker.
58
58
Since this component has interaction we must specify any event triggers that the component takes. The color picker has a single trigger `on_change` to specify when the color changes. This trigger takes in a single argument `color` which is the new color.
59
59
60
60
```python exec
61
+
from reflex.experimental.client_state import ClientStateVar
61
62
from reflex.components.component import NoSSRComponent
62
63
63
64
@@ -70,7 +71,7 @@ class ColorPicker(NoSSRComponent):
0 commit comments