vuepress-theme-hope
Version:
A light vuepress theme with tons of features
14 lines (13 loc) • 413 B
TypeScript
import type { ComputedRef } from "vue";
import type { RepoType } from "vuepress-shared/client";
export interface RepoConfig {
type: Exclude<RepoType, null> | "Source";
label: string;
link: string;
}
/**
* Get navbar config of repository link
*
* @returns Repository link config, or null if it doesn't exist or is hidden
*/
export declare const useNavbarRepo: () => ComputedRef<RepoConfig | null>;