Skip to content

Commit e3efb61

Browse files
authored
Update index.rst
1 parent 00fa069 commit e3efb61

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/LiveComponent/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)