BreadcrumbItemLink

Type: React component

How to get BreadcrumbItemLink?

JavaScript

import { BreadcrumbItemLink } from 'fds/components';

A (textual) link to be used as a breadcrumb item inside Breadcrumbs#renderBreadcrumbItem.

Props

  1. label

    (Required)

    Type: String

    The human readable label displayed in the component.

  2. isDisabled

    (Optional)

    Type: Boolean

    Whether or not the component should be rendered in a disabled state.

    Default value

  3. isDropOpened

    (Optional)

    Type: Boolean

    Whether or not the Drop corresponding to the component is opened.

    Default value

  4. isLastItem

    (Optional)

    Type: Boolean

    Whether or not this is the last item in the specified set of items.

    Default value

  5. onClick

    (Optional)

    Type: Function

    A callback that is called whenever the component is clicked and is not in a disabled state.

    For more information about React and "events", check the React documentation

    Arguments

    Default value

  6. onRef

    (Optional)

    Type: Function

    A callback that is called whenever a component's ref changes.

    Use this callback to get a ref to (the domNode of) a component. There shouldn't be many usecases for using this prop yourself, but you might have to implement it with a given argument from a render callback somewhere.

    For more information about React and "refs", check the React documentation

    Arguments

    Returns

    Default value