feat(scrollBreadcrumbStore): add id field and comments
This commit is contained in:
@@ -1,7 +1,17 @@
|
|||||||
import type { Snippet } from 'svelte';
|
import type { Snippet } from 'svelte';
|
||||||
|
|
||||||
export interface BreadcrumbItem {
|
export interface BreadcrumbItem {
|
||||||
|
/**
|
||||||
|
* Index of the item to display
|
||||||
|
*/
|
||||||
index: number;
|
index: number;
|
||||||
|
/**
|
||||||
|
* ID of the item to navigate to
|
||||||
|
*/
|
||||||
|
id?: string;
|
||||||
|
/**
|
||||||
|
* Title snippet to render
|
||||||
|
*/
|
||||||
title: Snippet<[{ className?: string }]>;
|
title: Snippet<[{ className?: string }]>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user