fabi / frontend /src /components /Library /SelectedTablesDisplay.tsx
Osman2010
Deploy DataLine with Gemini integration to HF Spaces
9470652
export const SelectedTablesDisplay = ({ tables }: { tables: string[] }) => {
return (
<div className="flex space-x-2 items-center overflow-x-scroll">
<span className="text-gray-400 text-sm font-normal">
Detected tables{" "}
</span>
{tables.map((table) => (
<div
key={table}
className="rounded-md bg-gray-700/40 px-2 py-1 text-xs font-medium text-gray-400 ring-1 ring-inset ring-white/10"
>
{table}
</div>
))}
</div>
);
};