From f0ab49921c5fd3f555b009d1c62996992a179dfa Mon Sep 17 00:00:00 2001 From: seb-jean Date: Fri, 25 Oct 2024 15:39:38 +0200 Subject: [PATCH] [Turbo] Add generic `` component --- src/Turbo/CHANGELOG.md | 4 ++++ src/Turbo/templates/components/Stream.html.twig | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 src/Turbo/templates/components/Stream.html.twig diff --git a/src/Turbo/CHANGELOG.md b/src/Turbo/CHANGELOG.md index df89967eb8..cd68756d85 100644 --- a/src/Turbo/CHANGELOG.md +++ b/src/Turbo/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 2.22.0 + +- Add `` component + ## 2.21.0 - Add `Helper/TurboStream::append()` et al. methods diff --git a/src/Turbo/templates/components/Stream.html.twig b/src/Turbo/templates/components/Stream.html.twig new file mode 100644 index 0000000000..69805a8edb --- /dev/null +++ b/src/Turbo/templates/components/Stream.html.twig @@ -0,0 +1,3 @@ +{% props action -%} + +