SelectedItemProps: {
    href?: string;
    id?: string;
    name: string;
    secondaryMeta?: string;
    secondaryText?: string;
    selected?: boolean;
    slotProps?: {
        secondaryContent?: Record<string, unknown>;
    };
    slots?: {
        secondaryContent?: React.ElementType;
    };
}

Type declaration

  • Optionalhref?: string

    Provide a href to allow navigation as in a site seearch

  • Optionalid?: string

    Unique identifier for the selected item.

  • name: string

    Name of the item.

  • OptionalsecondaryMeta?: string

    Optional secondary metadata.

  • OptionalsecondaryText?: string

    Optional secondary text displayed below the primary text.

  • Optionalselected?: boolean

    Flag indicating if the item is selected.

  • OptionalslotProps?: {
        secondaryContent?: Record<string, unknown>;
    }

    Properties for customizing the slots of the component.

    • OptionalsecondaryContent?: Record<string, unknown>

      Properties for customizing the secondary content slot, allowing additional configurations.

  • Optionalslots?: {
        secondaryContent?: React.ElementType;
    }

    Custom components for the slots of the item.

    • OptionalsecondaryContent?: React.ElementType

      A custom React component to be used for the secondary content slot, replacing the default content.