fix: refactor breadcrumbs to take page type variants to better match margins
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
import type { VariantProps } from "class-variance-authority"
|
||||
|
||||
import type { breadcrumbsVariants } from "./variants"
|
||||
|
||||
type Breadcrumb = {
|
||||
title: string
|
||||
uid: string
|
||||
href?: string
|
||||
}
|
||||
|
||||
export interface BreadcrumbsProps {
|
||||
export interface BreadcrumbsProps
|
||||
extends VariantProps<typeof breadcrumbsVariants> {
|
||||
breadcrumbs: Breadcrumb[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user