Commit 74510f46 authored by Chunchi Che's avatar Chunchi Che

fix hint

parent bf05cf47
import styles from "./Desc.module.scss";
import { Fragment } from "react";
import styles from "./Desc.module.scss";
export const Desc: React.FC<{ desc?: string }> = ({ desc = "" }) => {
if (!desc) return <></>;
return (
......
import styles from "./index.module.scss";
import { LeftOutlined } from "@ant-design/icons";
import { Divider, Drawer, Space, Tag } from "antd";
import React from "react";
......@@ -15,6 +13,7 @@ import {
Type2StringCodeMap,
} from "../../../../common";
import { Desc } from "./Desc";
import styles from "./index.module.scss";
const CARD_WIDTH = 140;
......
import styles from "./index.module.scss";
import React, { CSSProperties } from "react";
import { useNavigate } from "react-router-dom";
import { proxy, useSnapshot } from "valtio";
......@@ -8,6 +6,7 @@ import { fetchStrings } from "@/api";
import { matStore, replayStore, resetUniverse } from "@/stores";
import { NeosModal } from "../NeosModal";
import styles from "./index.module.scss";
interface EndProps {
isOpen: boolean;
......
import styles from "./index.module.scss";
import { message, notification } from "antd";
import React, { useEffect } from "react";
import { useSnapshot } from "valtio";
......@@ -9,6 +7,8 @@ import { Phase2StringCodeMap } from "@/common";
import { useConfig } from "@/config";
import { HandResult, matStore } from "@/stores";
import styles from "./index.module.scss";
const style = {
// borderStyle: "groove",
// borderRadius: "8px",
......
import styles from "./index.module.scss";
import { MinusOutlined, UpOutlined } from "@ant-design/icons";
import { Modal, type ModalProps } from "antd";
import classNames from "classnames";
import { useEffect, useState } from "react";
import styles from "./index.module.scss";
interface Props extends ModalProps {
canBeMinimized?: boolean;
}
......
import styles from "./index.module.scss";
import classnames from "classnames";
import { type INTERNAL_Snapshot as Snapshot, useSnapshot } from "valtio";
......@@ -12,6 +10,8 @@ import {
placeStore,
} from "@/stores";
import styles from "./index.module.scss";
const BgBlock: React.FC<
React.HTMLProps<HTMLDivElement> & {
disabled?: boolean;
......
import styles from "./index.module.scss";
import { animated, to, useSpring } from "@react-spring/web";
import { Dropdown, type MenuProps } from "antd";
import classnames from "classnames";
......@@ -24,6 +22,7 @@ import {
displaySimpleSelectCardsModal,
} from "../../Message";
import { interactTypeToString } from "../../utils";
import styles from "./index.module.scss";
import {
attack,
type AttackOptions,
......
import styles from "./index.module.scss";
import { Progress } from "antd";
import classNames from "classnames";
import React, { useEffect, useState } from "react";
......@@ -8,6 +6,8 @@ import { useSnapshot } from "valtio";
import { useEnv } from "@/hook";
import { matStore, playerStore } from "@/stores";
import styles from "./index.module.scss";
// 三个候选方案
// https://snack.expo.dev/?platform=web
// https://github.com/heyman333/react-animated-numbers
......
import styles from "./index.module.scss";
import { useSnapshot } from "valtio";
import { cardStore } from "@/stores";
import { Bg } from "../Bg";
import { Card } from "../Card";
import styles from "./index.module.scss";
// 后面再改名
export const Mat: React.FC = () => {
......
import styles from "./index.module.scss";
import {
ArrowRightOutlined,
CheckOutlined,
......@@ -27,6 +25,8 @@ import {
ygopro,
} from "@/api";
import { cardStore, matStore } from "@/stores";
import styles from "./index.module.scss";
import PhaseType = ygopro.StocGameMessage.MsgNewPhase.PhaseType;
const { phase } = matStore;
......
import styles from "./index.module.scss";
import classNames from "classnames";
import { CSSProperties, useMemo } from "react";
import { useConfig } from "@/config";
import styles from "./index.module.scss";
interface Props {
className?: string;
isBack?: boolean;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment