Embedded analytics SDK API
    Preparing search index...

    Type Alias DashCardMenuItem

    type DashCardMenuItem = {
        children?: ReactNode;
        closeMenuOnClick?: boolean;
        color?: MantineColor;
        disabled?: boolean;
        iconName: IconName;
        label: string;
        leftSection?: ReactNode;
        onClick: () => void;
        rightSection?: ReactNode;
    }
    Index

    Properties

    children?: ReactNode

    Item children

    closeMenuOnClick?: boolean

    Determines whether the menu should be closed when the item is clicked, overrides closeOnItemClick prop on the Menu component

    color?: MantineColor

    Key of theme.colors or any valid CSS color

    disabled?: boolean

    Disables item

    iconName: IconName

    Icon name

    label: string

    Item label

    leftSection?: ReactNode

    Section displayed on the left side of the label

    onClick: () => void

    Click handler

    rightSection?: ReactNode

    Section displayed on the right side of the label