mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-20 02:46:48 +00:00
📝 Docs: 商店插件可用性筛选 & 更新排序 (#3334)
This commit is contained in:
@ -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"
|
||||
|
@ -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)">
|
||||
|
@ -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";
|
||||
|
||||
|
Reference in New Issue
Block a user