aboutsummaryrefslogtreecommitdiff
path: root/packages/astro/test/fixtures/react-and-solid/src/components/ExampleSolid.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/astro/test/fixtures/react-and-solid/src/components/ExampleSolid.tsx')
-rw-r--r--packages/astro/test/fixtures/react-and-solid/src/components/ExampleSolid.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/astro/test/fixtures/react-and-solid/src/components/ExampleSolid.tsx b/packages/astro/test/fixtures/react-and-solid/src/components/ExampleSolid.tsx
new file mode 100644
index 000000000..c0e6336fc
--- /dev/null
+++ b/packages/astro/test/fixtures/react-and-solid/src/components/ExampleSolid.tsx
@@ -0,0 +1,5 @@
+import { VoidComponent } from 'solid-js';
+
+export const ExampleSolid: VoidComponent = () => {
+ return <div id="example-solid">example solidjs component</div>;
+};