@dxos/react-ui
    Preparing search index...
    type ItemProps = {
        border?: boolean;
        current?: boolean;
        onCurrentChange?: () => void;
        selected?: boolean;
    }
    Index

    Properties

    border?: boolean

    A separator-coloured border while unfocused.

    current?: boolean

    aria-current: the item is where the user is ("you are here"), set by the caller; focus alone does not set it.

    onCurrentChange?: () => void

    Called on click and on Enter.

    selected?: boolean

    aria-selected: the item is selected in its collection, drawn by the shared selected edge (focus.css). A selectable item is an option unless it names its own role (e.g. gridcell); its collection must be the matching listbox or grid.