interface SimpleListItemProps {
    children?: ReactNode;
    className?: string;
    component?: "a" | "button";
    componentClassName?: string;
    componentProps?: any;
    href?: string;
    isActive?: boolean;
    itemId?: string | number;
    onClick?: ((event: MouseEvent<Element, MouseEvent> | ChangeEvent<Element>) => void);
    type?: "button" | "reset" | "submit";
}

Properties

children?: ReactNode

Content rendered inside the SimpleList item

className?: string

Additional classes added to the SimpleList

  • component?: "a" | "button"

    Component type of the SimpleList item

    componentClassName?: string

    Additional classes added to the SimpleList or

    componentProps?: any

    Additional props added to the SimpleList or

    href?: string

    Default hyperlink location

    isActive?: boolean

    Indicates if the link is current/highlighted

    itemId?: string | number

    id for the item.

    onClick?: ((event: MouseEvent<Element, MouseEvent> | ChangeEvent<Element>) => void)

    OnClick callback for the SimpleList item

    type?: "button" | "reset" | "submit"

    Type of button SimpleList item