Skip to content

Commit

Permalink
fixup! Feat(web-react): Introduce BreadcrumbsItem component
Browse files Browse the repository at this point in the history
  • Loading branch information
literat authored and crishpeen committed Oct 10, 2023
1 parent c32c0f0 commit 9728da4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const defaultProps = {

export const Breadcrumbs = <T extends ElementType = 'nav'>(props: SpiritBreadcrumbsProps<T>): JSX.Element => {
const { children, elementType: ElementTag = 'nav', goBackTitle, items, ...restProps } = props;
const { classProps, props: modifiedProps } = useBreadcrumbsStyleProps(restProps);
const { classProps, props: modifiedProps } = useBreadcrumbsStyleProps({ ...restProps });
const { styleProps, props: otherProps } = useStyleProps(modifiedProps);

const isLast = (index: number, itemsCount: number) => {
Expand Down

0 comments on commit 9728da4

Please sign in to comment.