vuepress-theme-hope
Version:
A light vuepress theme with tons of features
51 lines • 1.63 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, PageInfoData } from "../../../shared/index.js";
import "../../styles/blog/article-item.scss";
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
/**
* Article information
*
* 文章信息
*/
info: {
type: PropType<PageInfoData & ArticleInfoData>;
required: true;
};
/**
* Article path
*
* 文章路径
*/
path: {
type: StringConstructor;
required: true;
};
}>, () => VNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
/**
* Article information
*
* 文章信息
*/
info: {
type: PropType<PageInfoData & ArticleInfoData>;
required: true;
};
/**
* Article path
*
* 文章路径
*/
path: {
type: StringConstructor;
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;
//# sourceMappingURL=ArticleItem.d.ts.map