feat(SW-1199): Added breadcrumbs to subpages * feat(SW-1199): Added breadcrumbs to subpages Approved-by: Fredrik Thorsson Approved-by: Matilda Landström
16 lines
327 B
TypeScript
16 lines
327 B
TypeScript
import type { VariantProps } from "class-variance-authority"
|
|
|
|
import type { breadcrumbsVariants } from "./variants"
|
|
|
|
type Breadcrumb = {
|
|
title: string
|
|
uid: string
|
|
href?: string
|
|
}
|
|
|
|
export interface BreadcrumbsProps
|
|
extends VariantProps<typeof breadcrumbsVariants> {
|
|
subpageTitle?: string
|
|
breadcrumbs: Breadcrumb[]
|
|
}
|