diff --git a/src/LiveComponent/src/Resources/doc/index.rst b/src/LiveComponent/src/Resources/doc/index.rst index 4805be69f47..0ed3868b721 100644 --- a/src/LiveComponent/src/Resources/doc/index.rst +++ b/src/LiveComponent/src/Resources/doc/index.rst @@ -16,12 +16,14 @@ A real-time product search component might look like this:: use Symfony\UX\LiveComponent\Attribute\AsLiveComponent; use Symfony\UX\LiveComponent\DefaultActionTrait; + use Symfony\UX\LiveComponent\Attribute\LiveProp; #[AsLiveComponent('product_search')] class ProductSearchComponent { use DefaultActionTrait; + #[LiveProp(writable: true)] public string $query = ''; private ProductRepository $productRepository;