Esc
Documentation
On this page

Props

PropTypeDefaultDescription
titlestringNoneHeading text
fieldstringNoneField of the resource result that holds the key-value object
sourceDataSourceNoneResource binding
dataReadonly<Record<string, unknown>>NoneInline data (alternative to source)

Example

ts
KeyValue({ source: config(), title: "Configuration" })
KeyValue({ data: { host: "localhost", port: 5432 }, title: "Connection" })

View the source on GitHub