Skip to content

Commit 242681a

Browse files
committed
Sample tsx
1 parent 08b446f commit 242681a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

sample_files/sample1.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
function Foo(props: { name: string }) {
2+
return <div>{props.name}</div>
3+
4+
}
5+
6+
export function Demo() {
7+
return <div>
8+
<Foo name="bar" />
9+
Hello world!
10+
</div>
11+
}

0 commit comments

Comments
 (0)