initial commit
This commit is contained in:
commit
2e0cbc254c
174 changed files with 27742 additions and 0 deletions
18
resources/js/pages/teste.tsx
Normal file
18
resources/js/pages/teste.tsx
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import AppLayout from '@/layouts/app-layout';
|
||||
import { Head } from '@inertiajs/react';
|
||||
|
||||
export default function Teste({dado, listagem}: {dado: string, listagem: {id: string, nome: string}[]}) {
|
||||
return <AppLayout>
|
||||
<Head title="Teste"></Head>
|
||||
<div>
|
||||
Teste aqui mesmo {dado}
|
||||
</div>
|
||||
|
||||
<ul>
|
||||
{listagem.map(item => (
|
||||
<li key={item.id}>{item.nome}</li>
|
||||
))}
|
||||
</ul>
|
||||
|
||||
</AppLayout>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue