📝 Docs: 商店插件可用性筛选 & 更新排序 (#3334)

This commit is contained in:
StarHeart
2025-02-26 23:05:06 +08:00
committed by GitHub
parent db857b11fa
commit 6cff660af0
42 changed files with 2320 additions and 2374 deletions

View File

@@ -18,7 +18,7 @@ type Props = {
children: React.ReactNode;
};
function StorePage({ title, children }: Props): JSX.Element {
function StorePage({ title, children }: Props): React.ReactNode {
const sidebarItems = useVersionedSidebar(
useDocsVersionCandidates()[0].name,
SIDEBAR_ID
@@ -35,7 +35,10 @@ function StorePage({ title, children }: Props): JSX.Element {
);
}
export default function StoreLayout({ title, ...props }: Props): JSX.Element {
export default function StoreLayout({
title,
...props
}: Props): React.ReactNode {
return (
<>
<PageMetadata title={title} />