Skip to content

Commit

Permalink
Export breadcrumb props
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentSmedinga committed Jan 16, 2024
1 parent 73b1f37 commit 3c5205d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react/src/Breadcrumb/Breadcrumb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { forwardRef } from 'react'
import type { ForwardedRef, ForwardRefExoticComponent, HTMLAttributes, PropsWithChildren, RefAttributes } from 'react'

type BreadcrumbProps = PropsWithChildren<HTMLAttributes<HTMLElement>>
export type BreadcrumbProps = PropsWithChildren<HTMLAttributes<HTMLElement>>

interface BreadcrumbComponent extends ForwardRefExoticComponent<BreadcrumbProps & RefAttributes<HTMLElement>> {
Item: typeof BreadcrumbItem
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/Breadcrumb/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { Breadcrumb } from './Breadcrumb'
export type { BreadcrumbItemProps } from './Breadcrumb'
export type { BreadcrumbProps, BreadcrumbItemProps } from './Breadcrumb'

0 comments on commit 3c5205d

Please sign in to comment.