diff --git a/packages/react/src/Breadcrumb/Breadcrumb.tsx b/packages/react/src/Breadcrumb/Breadcrumb.tsx index 9730a542d1..814b4470bc 100644 --- a/packages/react/src/Breadcrumb/Breadcrumb.tsx +++ b/packages/react/src/Breadcrumb/Breadcrumb.tsx @@ -6,7 +6,7 @@ import { forwardRef } from 'react' import type { ForwardedRef, ForwardRefExoticComponent, HTMLAttributes, PropsWithChildren, RefAttributes } from 'react' -type BreadcrumbProps = PropsWithChildren> +export type BreadcrumbProps = PropsWithChildren> interface BreadcrumbComponent extends ForwardRefExoticComponent> { Item: typeof BreadcrumbItem diff --git a/packages/react/src/Breadcrumb/index.ts b/packages/react/src/Breadcrumb/index.ts index ad77f3e696..ea5d50941e 100644 --- a/packages/react/src/Breadcrumb/index.ts +++ b/packages/react/src/Breadcrumb/index.ts @@ -1,2 +1,2 @@ export { Breadcrumb } from './Breadcrumb' -export type { BreadcrumbItemProps } from './Breadcrumb' +export type { BreadcrumbProps, BreadcrumbItemProps } from './Breadcrumb'