diff options
Diffstat (limited to 'examples/hello-next/components')
-rw-r--r-- | examples/hello-next/components/Title.tsx | 9 | ||||
-rw-r--r-- | examples/hello-next/components/subtitle.tsx | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/examples/hello-next/components/Title.tsx b/examples/hello-next/components/Title.tsx new file mode 100644 index 000000000..c8f1a935f --- /dev/null +++ b/examples/hello-next/components/Title.tsx @@ -0,0 +1,9 @@ +import Hey from "./subtitle"; + +export default function Title() { + return ( + <h1> + Hello <Hey></Hey> + </h1> + ); +} diff --git a/examples/hello-next/components/subtitle.tsx b/examples/hello-next/components/subtitle.tsx new file mode 100644 index 000000000..347d97a4d --- /dev/null +++ b/examples/hello-next/components/subtitle.tsx @@ -0,0 +1,3 @@ +export default function Hey() { + return <div>!!yep</div>; +} |