summaryrefslogtreecommitdiff
path: root/test/fixtures/react-component/src/components/Hello.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures/react-component/src/components/Hello.jsx')
-rw-r--r--test/fixtures/react-component/src/components/Hello.jsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/fixtures/react-component/src/components/Hello.jsx b/test/fixtures/react-component/src/components/Hello.jsx
new file mode 100644
index 000000000..4b6c416a9
--- /dev/null
+++ b/test/fixtures/react-component/src/components/Hello.jsx
@@ -0,0 +1,5 @@
+import React from 'react';
+
+export default function ({ name }) {
+ return <h2 id="react-h2">Hello {name}!</h2>;
+}