mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-10-07 11:16:43 +00:00
📝 Docs: 商店插件可用性筛选 & 更新排序 (#3334)
This commit is contained in:
@@ -25,7 +25,7 @@ export type Props = {
|
||||
export default function AsciinemaContainer({
|
||||
url,
|
||||
options = {},
|
||||
}: Props): JSX.Element {
|
||||
}: Props): React.ReactNode {
|
||||
const ref = useRef<HTMLDivElement>(null);
|
||||
|
||||
useEffect(() => {
|
||||
|
@@ -1,14 +1,14 @@
|
||||
import React from "react";
|
||||
|
||||
import "asciinema-player/dist/bundle/asciinema-player.css";
|
||||
import BrowserOnly from "@docusaurus/BrowserOnly";
|
||||
import "asciinema-player/dist/bundle/asciinema-player.css";
|
||||
|
||||
import "./styles.css";
|
||||
import type { Props } from "./container";
|
||||
import "./styles.css";
|
||||
|
||||
export type { Props } from "./container";
|
||||
|
||||
export default function Asciinema(props: Props): JSX.Element {
|
||||
export default function Asciinema(props: Props): React.ReactNode {
|
||||
return (
|
||||
<BrowserOnly
|
||||
fallback={
|
||||
|
Reference in New Issue
Block a user