Axinom Mosaic Libraries
    Preparing search index...

    Interface NavigationButtonProps

    Button options for icon buttons with navigation

    interface NavigationButtonProps {
        className?: string;
        customIcon?: ReactNode;
        dataTestId?: string;
        disabled?: boolean;
        height?: string | number;
        icon?: IconName;
        onBlur?: undefined;
        onButtonClicked?: undefined;
        openInNewTab?: boolean;
        path: LocationDescriptor<unknown>;
        title?: string;
        width?: string | number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    className?: string

    Optional class

    customIcon?: ReactNode

    Optional custom icon. When provided, icon property is ignored.

    dataTestId?: string

    Optional data-test-id

    disabled?: boolean

    Whether the button is disabled. If set to true, disallows interactions. (default: undefined)

    height?: string | number

    Button's height

    icon?: IconName

    Optional icon

    onBlur?: undefined
    onButtonClicked?: undefined

    Event to raise when the button is clicked

    openInNewTab?: boolean

    If set to true, the link will open in a new tab.

    path: LocationDescriptor<unknown>

    Where to navigate to when the action is clicked.

    title?: string

    Optional title attribute for the button

    width?: string | number

    Button's width