@dxos/react-ui
    Preparing search index...

    Type Alias RowProps

    RowProps: ThemedClassName<ComponentPropsWithoutRef<"div">> & {
        align?: "start";
        current?: boolean;
        end?: ReactNode;
        icon?: string;
        leading?: ReactNode;
        span?: "full" | "end";
        trailing?: ReactNode;
    }

    Type declaration

    • Optionalalign?: "start"

      start aligns the leading icon and the trailing cell to the row's first line rather than its middle, for content of several lines (a title over a snippet); wrapped Typography text does this on its own.

    • Optionalcurrent?: boolean

      The chosen row of a set (aria-current).

    • Optionalend?: ReactNode

      Content centred in the card's end rail (an icon-only action, a unit), mirroring leading in the start rail; unlike trailing it never extends back into the content track, so every row's end column lines up.

    • Optionalicon?: string

      Leading icon, in a Block in the card's start rail, so row text starts at the content edge with or without one.

    • Optionalleading?: ReactNode

      Leading content in place of the icon (e.g. a person's avatar), in the same Block.

    • Optionalspan?: "full" | "end"

      How far the row's text runs in a grid card: full across both rails (content with nothing to align beside it, such as a snippet), end on through the end rail when there is no trailing cell. The content track by default.

    • Optionaltrailing?: ReactNode

      Trailing content (a Tag, a count, an action), kept whole while the text truncates; it ends in the card's end rail, which an icon-only action fills, and a wider one extends back into the content track.