| Component | Kind | Status |
|---|---|---|
| PButton | Action | Ready |
| PTable | Content | New |
| PFieldset | Forms | New |
vue
<p-table
caption="Pear component status"
:columns="columns"
:rows="rows"
row-key="component"
/>data.ts
import type { PTableColumn } from "@ontic/pear";
const columns: PTableColumn[] = [
{ key: "component", label: "Component", rowHeader: true },
{ key: "kind", label: "Kind" },
{ key: "status", label: "Status" },
];
const rows = [
{ component: "PButton", kind: "Action", status: "Ready" },
{ component: "PTable", kind: "Content", status: "New" },
{ component: "PFieldset", kind: "Forms", status: "New" },
];