BreadcrumbItemLink

How to get BreadcrumbItemLink

import { BreadcrumbItemLink } from 'fds/components';

Type: Component

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

Props

# Name Type Description
1. label String

The human readable label displayed in the component.

2. [isDisabled] Boolean

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

  Default value
false
3. [isDropOpened] Boolean

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

  Default value
false
4. [isLastItem] Boolean

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

  Default value
false
5. [onClick] 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
# Name Type Description
1. event ReactSyntheticEvent
6. [onRef] 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
# Name Type Description
1. domNode HTMLElement

The domNode on which the component placed its ref callback attribute.

  Returns

Type: void

Was this page helpful?