Renders a status as an icon and a text into a form. The presentation of every value is declared through the statuses map, which can be keyed by a string enum.
statuses
<StatusViewField label="Encoding" value={encodingState} statuses={{ [EncodingState.Ready]: { label: 'Ready', icon: IconName.Success, color: 'var(--mosaic-success)', }, }}/> Copy
<StatusViewField label="Encoding" value={encodingState} statuses={{ [EncodingState.Ready]: { label: 'Ready', icon: IconName.Success, color: 'var(--mosaic-success)', }, }}/>
Renders a status as an icon and a text into a form. The presentation of every value is declared through the
statusesmap, which can be keyed by a string enum.