summaryrefslogtreecommitdiff
path: root/examples/integrations-playground/src/components/Link.jsx
diff options
context:
space:
mode:
authorGravatar Jonas Luebbers <jonas@jonasluebbers.com> 2022-05-11 12:23:34 -0400
committerGravatar GitHub <noreply@github.com> 2022-05-11 10:23:34 -0600
commitabc5b219bb58c22b680da0486bc2b779e6661dd8 (patch)
tree8a6415ce274b919de53a85501e138ae125a55b3a /examples/integrations-playground/src/components/Link.jsx
parent380acd23de6c0ccd1237d5a99a0af8641d17f4fa (diff)
downloadastro-abc5b219bb58c22b680da0486bc2b779e6661dd8.tar.gz
astro-abc5b219bb58c22b680da0486bc2b779e6661dd8.tar.zst
astro-abc5b219bb58c22b680da0486bc2b779e6661dd8.zip
Remove try/catch from solid component check (#3282)
* Remove try/catch from solid component check * Move try/catch to renderComponent * Add solid to integrations-playground example
Diffstat (limited to 'examples/integrations-playground/src/components/Link.jsx')
-rw-r--r--examples/integrations-playground/src/components/Link.jsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/integrations-playground/src/components/Link.jsx b/examples/integrations-playground/src/components/Link.jsx
index 2758df130..040d112c3 100644
--- a/examples/integrations-playground/src/components/Link.jsx
+++ b/examples/integrations-playground/src/components/Link.jsx
@@ -1,3 +1,6 @@
+/* jsxImportSource: react */
+import React from 'react';
+
export default function Link({ to, text }) {
return <a href={to}>{text}</a>;
}