import cx from "classnames"; import React, { FC, ReactElement } from "react"; import { ComponentDefaultTestId, getTestId } from "../../tests/test-ids-utils"; import NavigationChevronRight from "../Icon/Icons/components/NavigationChevronRight"; import { BreadcrumbsBarType } from "./BreadcrumbsConstants"; import { BreadcrumbItemProps } from "./BreadcrumbItem/BreadcrumbItem"; import { withStaticProps, VibeComponentProps } from "../../types"; import styles from "./BreadcrumbsBar.module.scss"; export interface BreadcrumbBarProps extends VibeComponentProps { /** The type of the bar is responsible for whether it will be navigational or for indication only */ type: BreadcrumbsBarType; children: ReactElement | ReactElement[]; } const BreadcrumbsBar: FC & { types?: typeof BreadcrumbsBarType } = ({ className, children, type = BreadcrumbsBar.types.INDICATION, id, "data-testid": dataTestId }) => ( ); export default withStaticProps(BreadcrumbsBar, { types: BreadcrumbsBarType });