summaryrefslogtreecommitdiff
path: root/examples/framework-preact/src/components/Message.tsx
diff options
context:
space:
mode:
authorGravatar Alex Jet <aleksandrjet@gmail.com> 2024-01-04 18:01:08 +0700
committerGravatar GitHub <noreply@github.com> 2024-01-04 11:01:08 +0000
commit0903ef90494e9c8bd0272347a0cdd51eca7f4648 (patch)
treeb079600983dac94242632eda9d0cbaf7f570e3ee /examples/framework-preact/src/components/Message.tsx
parenta1b324b31b185857e1b2c265c9a077c511c5f7d3 (diff)
downloadastro-0903ef90494e9c8bd0272347a0cdd51eca7f4648.tar.gz
astro-0903ef90494e9c8bd0272347a0cdd51eca7f4648.tar.zst
astro-0903ef90494e9c8bd0272347a0cdd51eca7f4648.zip
feat: add preact-ssr-prepass (#9524)
* feat: add preact-ssr-prepass * added more info to changelog * fix example in changelog * fix changelog description * fix tab in code of changelog * Update .changeset/blue-bobcats-remain.md --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Diffstat (limited to 'examples/framework-preact/src/components/Message.tsx')
-rw-r--r--examples/framework-preact/src/components/Message.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/framework-preact/src/components/Message.tsx b/examples/framework-preact/src/components/Message.tsx
new file mode 100644
index 000000000..2ae48d04b
--- /dev/null
+++ b/examples/framework-preact/src/components/Message.tsx
@@ -0,0 +1,5 @@
+import './Message.css';
+
+export default function Message({ children }) {
+ return <div class="message">{children}</div>;
+}