API reference
components/action-row
Import
Section titled “Import”import * as api from "@fungi.computer/caps/components/action-row";Exports
Section titled “Exports”| Kind | Export | Description |
|---|---|---|
| type alias | ActionRowProps | A full-width, structured action for a data list. |
| function | ActionRow() | Render a clear label, supporting detail, and optional trailing status. |
ActionRowPropstype alias
Section titled “ActionRowProps”type ActionRowProps = Omit<ButtonProps, "children"> & object;A full-width, structured action for a data list.
Type Declaration
Section titled “Type Declaration”| Name | Type | Description |
|---|---|---|
icon? |
ReactNode |
- |
label |
ReactNode |
- |
description? |
ReactNode |
- |
trailing? |
ReactNode |
- |
density? |
"regular" | "compact" |
- |
iconSize? |
"default" | "lg" |
lg gives a character-sized mark (a sprite head) more room than an icon. |
appearance? |
"plain" | "card" |
card molds the row into its own raised plastic card. |
ActionRow()function
Section titled “ActionRow()”function ActionRow(__namedParameters): Element;Render a clear label, supporting detail, and optional trailing status.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
__namedParameters |
ActionRowProps |
Returns
Section titled “Returns”Element