Component docs
Loading
import { PropertyGrid } from "@pixxl-tools/components";
// In Server Components:
import { PropertyGrid } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
items (required) | readonly KeyValueItem[] | — | Items to render. |
itemsrequiredreadonly KeyValueItem[]
Items to render.
const items = [
{ key: "width", label: "Width", value: "320" },
{ key: "height", label: "Height", value: "200" },
];
<PropertyGrid items={items} />