CompactRecord
API reference and demos for CompactRecord.
Import
Section titled “Import”import { CompactRecord } from "@flanksource/clicky-ui/data";The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.
| Prop | Type | Default | Description |
|---|---|---|---|
className |
string |
— | — |
href |
string |
— | Opens the record where it lives (a pipeline run, a pull request); an absolute URL opens in a new tab. |
icon* |
ReactNode |
— | A product logo or glyph, e.g. an Azure DevOps pipeline for a build; sized by the row. |
meta |
ReactNode[] |
— | The secondary line, its entries separated by dots; null, false and "" entries are skipped. |
status |
CompactRecordStatus |
— | — |
title* |
ReactNode |
— | — |
trailing |
ReactNode |
— | A right-aligned slot, e.g. a short SHA or a time. |