Skip to content

Commit

Permalink
[Turbo] Add generic <Turbo:Stream> component
Browse files Browse the repository at this point in the history
  • Loading branch information
seb-jean authored and Kocal committed Oct 30, 2024
1 parent 01839ab commit f0ab499
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Turbo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 2.22.0

- Add `<twig:Turbo:Stream>` component

## 2.21.0

- Add `Helper/TurboStream::append()` et al. methods
Expand Down
3 changes: 3 additions & 0 deletions src/Turbo/templates/components/Stream.html.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% props action -%}

<turbo-stream action="{{ action }}" {{- attributes }}></turbo-stream>

0 comments on commit f0ab499

Please sign in to comment.