// Copyright (c) Meta Platforms, Inc. and affiliates.
'use client';
import {TreeList} from '@astryxdesign/core/TreeList';
import {Icon} from '@astryxdesign/core/Icon';
import {
FolderIcon,
DocumentIcon as FileIcon,
} from '@heroicons/react/24/outline';
export default function TreeListFileTreeWithIcons() {
return (
,
children: [
{
id: 'app',
label: 'App.tsx',
onClick: () => {},
startContent: ,
},
{
id: 'index',
label: 'index.tsx',
onClick: () => {},
startContent: ,
},
],
},
{
id: 'pkg',
label: 'package.json',
onClick: () => {},
startContent: ,
},
]}
/>
);
}