Row of filename tabs with active styling. Dirty tabs show a sky dot in place of the close button.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Editor6 } from "@/components/beste/piece/editor6";
<Editor6
tabs={[
{
"filename": "index.tsx"
},
{
"filename": "button.tsx",
"active": true,
"dirty": true
},
{
"filename": "card.tsx"
},
{
"filename": "theme.css"
}
]}
/>