Function: MiniTable()¶
MiniTable(
__namedParameters):Element|null
Defined in: components/MiniTable.tsx:15
Compact table for row-shaped tool results. Columns are inferred from the first
row's keys; underscores in headers become spaces. Renders at most maxRows
rows with a "+N more" footer, and nothing at all for an empty list.
Parameters¶
__namedParameters¶
maxRows?¶
number = 8
rows¶
Record\<string, string>[]
Returns¶
Element | null
Example¶
import { MiniTable } from "@pgege/kaboo-react";
function Example() {
return <MiniTable rows={[{ id: "1", name: "Ada" }]} maxRows={5} />;
}