Skip to content

Commit c615cf8

Browse files
Update docs/state_structure/component_state.md
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent c527032 commit c615cf8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/state_structure/component_state.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ class EditableText(rx.ComponentState):
8383
original_text: str
8484
editing: bool = False
8585

86+
@rx.event
8687
def set_text(self, value: str):
8788
self.text = value
8889

0 commit comments

Comments
 (0)