27 lines
690 B
TypeScript
27 lines
690 B
TypeScript
import type {
|
|
BreadcrumbsProps,
|
|
BreadcrumbsItemProps,
|
|
LinkProps,
|
|
} from "@heroui-vue/components";
|
|
const root: BreadcrumbsProps = {
|
|
onAction: (key: string | number) => {
|
|
void key;
|
|
},
|
|
};
|
|
const item: BreadcrumbsItemProps = { id: 0 };
|
|
const link: LinkProps = {
|
|
href: "/files",
|
|
asChild: true,
|
|
isDisabled: true,
|
|
download: "file.txt",
|
|
};
|
|
// @ts-expect-error keys include numeric identities
|
|
const wrongAction: BreadcrumbsProps = { onAction: (_key: boolean) => {} };
|
|
// @ts-expect-error internal collection identity injection is not a public item prop
|
|
const privateKey: BreadcrumbsItemProps = { itemKey: 0 };
|
|
void item;
|
|
void root;
|
|
void link;
|
|
void wrongAction;
|
|
void privateKey;
|