diff options
author | 2021-10-13 00:28:20 -0700 | |
---|---|---|
committer | 2021-10-13 00:28:20 -0700 | |
commit | 9e3e9a2d6da9f33f2cfcdb10254f5ef37955019c (patch) | |
tree | b421e988ac6c23bc5bff88a95dbf15722b35e01d /examples/next/components | |
parent | 88a5e2d34d25c3ac3d13a432bbd85daa075c4bcb (diff) | |
download | bun-9e3e9a2d6da9f33f2cfcdb10254f5ef37955019c.tar.gz bun-9e3e9a2d6da9f33f2cfcdb10254f5ef37955019c.tar.zst bun-9e3e9a2d6da9f33f2cfcdb10254f5ef37955019c.zip |
Clean up examples a little
Diffstat (limited to 'examples/next/components')
-rw-r--r-- | examples/next/components/Title.tsx | 13 | ||||
-rw-r--r-- | examples/next/components/subtitle.tsx | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/examples/next/components/Title.tsx b/examples/next/components/Title.tsx new file mode 100644 index 000000000..73963663a --- /dev/null +++ b/examples/next/components/Title.tsx @@ -0,0 +1,13 @@ +import Hey from "./subtitle"; + +export default function Title() { + return ( + <h1> + Hello <Hey></Hey> + </h1> + ); +} + +export enum TitleEnum { + wow = 1, +} diff --git a/examples/next/components/subtitle.tsx b/examples/next/components/subtitle.tsx new file mode 100644 index 000000000..1fda3db60 --- /dev/null +++ b/examples/next/components/subtitle.tsx @@ -0,0 +1,4 @@ + +export default function Hey() { + return <div>!!yep</div>; +} |