Skip to content

Commit 78f1dbc

Browse files
authored
Update index.rst
1 parent 7fa477f commit 78f1dbc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ Let's make our component more flexible by adding a ``$max`` property::
208208
#[AsLiveComponent]
209209
class RandomNumber
210210
{
211+
use DefaultActionTrait;
212+
211213
#[LiveProp]
212214
public int $max = 1000;
213215

0 commit comments

Comments
 (0)