carbon-react
Version:
A library of reusable React components for easily building user interfaces.
10 lines (9 loc) • 614 B
TypeScript
import React from "react";
import { LinkProps } from "../../link";
import { TagProps } from "../../../__internal__/utils/helpers/tags";
export interface CrumbProps extends Omit<LinkProps, "tooltipMessage" | "tooltipPosition" | "iconType" | "iconAlign" | "isSkipLink" | "isDarkBackground" | "inverse" | "ariaLabel" | "className" | "variant" | "target" | "rel" | "icon" | "disabled">, TagProps {
/** This sets the Crumb to current, does not render Link */
isCurrent?: boolean;
}
declare const Crumb: React.ForwardRefExoticComponent<CrumbProps & React.RefAttributes<HTMLAnchorElement>>;
export default Crumb;