tambah aduan sampah
This commit is contained in:
23
src/pages/dir/dir_page.tsx
Normal file
23
src/pages/dir/dir_page.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
import { Tree } from "@mantine/core";
|
||||
|
||||
// ✅ Valid data, all values are unique
|
||||
const data = [
|
||||
{
|
||||
value: 'src',
|
||||
label: 'src',
|
||||
children: [
|
||||
{ value: 'src/components', label: 'components' },
|
||||
{ value: 'src/hooks', label: 'hooks' },
|
||||
],
|
||||
},
|
||||
{ value: 'package.json', label: 'package.json' },
|
||||
];
|
||||
|
||||
export default function DirPage() {
|
||||
return (
|
||||
<div>
|
||||
<h1>Dir Page</h1>
|
||||
<Tree data={data} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user