From 03ef16329b11e8dc8e45b9c2a66df5579302182f Mon Sep 17 00:00:00 2001 From: Naman Anand Date: Wed, 7 Feb 2024 17:46:10 +0530 Subject: [PATCH] chore: add the missing return button in the subscription form (They are already in the design handover) (#932) Because - update `BreadcrumbWithLink` This commit - update `BreadcrumbWithLink` --- .../components/breadcrumb-with-link/BreadcrumbWithLink.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/toolkit/src/components/breadcrumb-with-link/BreadcrumbWithLink.tsx b/packages/toolkit/src/components/breadcrumb-with-link/BreadcrumbWithLink.tsx index 2f78530b37..b21aea15ba 100644 --- a/packages/toolkit/src/components/breadcrumb-with-link/BreadcrumbWithLink.tsx +++ b/packages/toolkit/src/components/breadcrumb-with-link/BreadcrumbWithLink.tsx @@ -1,9 +1,9 @@ import { Icons } from "@instill-ai/design-system"; import Link from "next/link"; -import React from "react"; +import React, { ReactElement } from "react"; export type BreadcrumbWithLinkItem = { - label: string; + label: ReactElement | string; link?: string; };