Data table

A data-table component is used for rendering a table of key-value pairs. For Messenger, text will wrap around on multiple lines. For Inbox and Frame (ie. Configure) views, we will truncate and use tooltips on hover if the text overflows.

Data-Table Parameters

ParameterPossible ValuesRequiredDescription
typedata-tableYesThe type of component you are rendering.
itemsArray (See Below)YesThe items that will be rendered in the data-table.

Field-Value Parameters

ParameterPossible ValuesRequiredDescription
typefield-valueYesThe type of component you are rendering.
fieldAny stringYesThe text of the key in your key-value pair.
valueAny stringYesThe text of the value in your key-value pair.