This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import MyButton from "@/components/MyButton";
|
import LightButton from "@/components/buttons/LightButton";
|
||||||
import IconClick from "@/components/IconClick";
|
import IconClick from "@/components/IconClick";
|
||||||
import IMAGES from "@/config/images";
|
import IMAGES from "@/config/images";
|
||||||
import { Letter, SupportedAlphabets } from "@/interfaces";
|
import { Letter, SupportedAlphabets } from "@/interfaces";
|
||||||
@@ -73,22 +73,22 @@ export default function MemoryCard({
|
|||||||
></IconClick>
|
></IconClick>
|
||||||
{more ? (
|
{more ? (
|
||||||
<>
|
<>
|
||||||
<MyButton
|
<LightButton
|
||||||
className="w-20"
|
className="w-20"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setLetterDisplay(!letterDisplay);
|
setLetterDisplay(!letterDisplay);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{letterDisplay ? "隐藏字母" : "显示字母"}
|
{letterDisplay ? "隐藏字母" : "显示字母"}
|
||||||
</MyButton>
|
</LightButton>
|
||||||
<MyButton
|
<LightButton
|
||||||
className="w-20"
|
className="w-20"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setIPADisplay(!ipaDisplay);
|
setIPADisplay(!ipaDisplay);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{ipaDisplay ? "隐藏IPA" : "显示IPA"}
|
{ipaDisplay ? "隐藏IPA" : "显示IPA"}
|
||||||
</MyButton>
|
</LightButton>
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<></>
|
<></>
|
||||||
|
|||||||
Reference in New Issue
Block a user