@solfacil/girassol
Version:
Girassol design system
21 lines (20 loc) • 543 B
TypeScript
import type { NuxtLinkResolved } from "@/types";
export interface LinkTo {
path: string;
force?: boolean;
hash?: string;
name?: string;
params?: Record<string, string | number | null | undefined>;
query?: Record<string, string | number | null | undefined>;
replace?: false;
state?: string;
}
export interface Link {
id: string;
component: 'router-link' | 'a' | NuxtLinkResolved;
text?: string;
to?: string | LinkTo;
external?: boolean;
size: 'medium' | 'large';
onColor?: boolean;
}