diff --git a/apps/documentation/src/components/breadcrumbs/breadcrumbs.tsx b/apps/documentation/src/components/breadcrumbs/breadcrumbs.tsx index 95aef019..4bc63a9e 100644 --- a/apps/documentation/src/components/breadcrumbs/breadcrumbs.tsx +++ b/apps/documentation/src/components/breadcrumbs/breadcrumbs.tsx @@ -4,21 +4,21 @@ import { Link, Head } from 'tuono' import { IconChevronRight, IconBolt } from '@tabler/icons-react' interface Breadcrumb { - href?: string - label: string + href?: string + label: string } interface BreadcrumbsProps { - breadcrumbs: Breadcrumb[] + breadcrumbs: Breadcrumb[] } export default function TuonoBreadcrumbs({ - breadcrumbs = [], + breadcrumbs = [], }: BreadcrumbsProps): JSX.Element { - return ( - <> - - - - } - mb="md" - mt="md" - > - - {breadcrumbs.map((br) => ( - - ))} - - - ) + + + } + mb="md" + mt="md" + > + + {breadcrumbs.map((br) => ( + + ))} + + + ) } interface BreadcrumbElementProps { - href?: string - label: string + href?: string + label: string } export function BreadcrumbElement({ - href, - label, + href, + label, }: BreadcrumbElementProps): JSX.Element { - if (href) { - return ( - - ) - } + if (href) { + return ( + + ) + } - return ( - - ) + return ( + + ) }