console.resource/details-item
Adds a new details item to the default resource summary on the details page.
| Name | Value Type | Optional | Description |
|---|---|---|---|
|
|
no |
The subject resource’s API group, version, and kind. |
|
|
no |
A unique identifier. |
|
|
no |
Determines if the item will appear in the 'left' or 'right' column of the resource summary on the details page. Default: 'right' |
|
|
no |
The details item title. |
|
|
yes |
An optional, fully-qualified path to a resource property to used as the details item value. You can directly render only primitive type values, linked in Additional resources. Use the component property to handle other data types. |
|
|
yes |
An optional React component that will render the details item value. |
|
|
yes |
An optional sort weight, relative to all other details items in the same column. You can represent it by using any valid JavaScript Number, linked in Additional resources. Items in each column are sorted independently, lowest to highest. Items without sort weights are sorted after items with sort weights. |