UNPKG

monday-ui-react-core

Version:

Official monday.com UI resources for application development in React.js

26 lines (25 loc) 1.05 kB
import React from "react"; import { SubIcon, VibeComponentProps } from "../../../types"; export interface BreadcrumbItemProps extends VibeComponentProps { /** The display text. */ text?: string; /** Should item be disabled. */ disabled?: boolean; /** * @deprecated - use disabled instead */ isDisabled?: boolean; /** Should item be clickable - this should be recieved from the breadcrumbsBar ( Navigation/Indication bar ). */ isClickable?: boolean; /** If the item is clickable and the type of navigation is a link, this is the link */ link?: string; /** If the item is clickable and the type of navigation is a function, this is the function */ onClick?: () => void; /** Should be the current Item - mainly effects the item`s style. */ isCurrent?: boolean; /** An Icon - If no icon needed then should be left empty. */ icon?: SubIcon; showText?: boolean; } declare const BreadcrumbItem: React.FC<BreadcrumbItemProps>; export default BreadcrumbItem;