📝 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

@ -2,7 +2,7 @@ import React, { type ComponentProps } from "react";
export interface Props extends Omit<ComponentProps<"svg">, "viewBox"> {}
export default function IconCloudflare(props: Props): JSX.Element {
export default function IconCloudflare(props: Props): React.ReactNode {
return (
<svg
viewBox="0 0 651.29 94.76"

View File

@ -2,7 +2,7 @@ import React, { type ComponentProps } from "react";
export interface Props extends Omit<ComponentProps<"svg">, "viewBox"> {}
export default function IconNetlify(props: Props): JSX.Element {
export default function IconNetlify(props: Props): React.ReactNode {
return (
<svg viewBox="0 0 256 105" xmlns="http://www.w3.org/2000/svg" {...props}>
<g clipPath="url(#clip0_236_25)">

View File

@ -9,7 +9,7 @@ import "./styles.css";
export default function TOCContainer({
children,
...props
}: Props): JSX.Element {
}: Props): React.ReactNode {
const windowSize = useWindowSize();
const isClient = windowSize !== "ssr";