vuepress-theme-hope
Version:
A light vuepress theme with tons of features
39 lines (38 loc) • 1.36 kB
TypeScript
import type { Slot } from "@vuepress/helper/client";
import type { PropType, SlotsType, VNode } from "vue";
import type { ArticleCoverSlotData, ArticleExcerptSlotData, ArticleInfoSlotData, ArticleTitleSlotData } from "@theme-hope/typings/slots";
import type { ArticleInfoData } from "../../../shared/index.js";
import "../../styles/blog/article-list.scss";
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
/**
* Articles
*
* 文章项目
*/
items: {
type: PropType<{
path: string;
info: ArticleInfoData;
}[]>;
required: true;
};
}>, () => VNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
/**
* Articles
*
* 文章项目
*/
items: {
type: PropType<{
path: string;
info: ArticleInfoData;
}[]>;
required: true;
};
}>> & Readonly<{}>, {}, SlotsType<{
articleCover?: Slot<ArticleCoverSlotData>;
articleTitle?: Slot<ArticleTitleSlotData>;
articleInfo?: Slot<ArticleInfoSlotData>;
articleExcerpt?: Slot<ArticleExcerptSlotData>;
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;