Esc
Documentation
On this page

Props

PropTypeDefaultDescription
sourceDataSourceNoneResource binding
field requiredstringNoneField name to extract
formatValueFormat"text"Display format
fallbackstringNoneShown when value is missing

Example

ts
Value({ source: status(), field: "url" })
Value({ source: metrics(), field: "bytes", format: "bytes", fallback: "N/A" })

Supporting types

ValueFormat
export type ValueFormat = "text" | "number" | "bytes";

View the source on GitHub