Add tiny JSX/TSX templates

This commit is contained in:
Sage Vaillancourt 2024-01-21 21:11:41 -05:00
parent ceb4c92326
commit 7fd707b558
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,9 @@
const ComponentTodo = ({ text }) => {
return (
<div>
{text}
</div>
)
}
export default ComponentTodo

View File

@ -0,0 +1,9 @@
const ComponentTodo: FC<{ text: string }> = ({ text }) => {
return (
<div>
{text}
</div>
)
}
export default ComponentTodo