A key-value block. Rows are [key, text] tuples or objects; an object carrying both content and text is written with content winning, which is what the server does. display picks the row drawing; layout and width place the block on the page.
[key, text]
content
text
display
layout
width
const stats = keyValue([['Species', 'Magic dog'], { key: 'Brother', content: bold('Finn') }], { display: 'grid' }) Copy
const stats = keyValue([['Species', 'Magic dog'], { key: 'Brother', content: bold('Finn') }], { display: 'grid' })
A key-value block. Rows are
[key, text]tuples or objects; an object carrying bothcontentandtextis written withcontentwinning, which is what the server does.displaypicks the row drawing;layoutandwidthplace the block on the page.