From d477c7270c90b190ed82b13f48f39a05d83503d2 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 21 Sep 2023 23:49:12 +0800 Subject: Fix #1394. --- FrontEnd/src/components/button/ButtonRowV2.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'FrontEnd/src/components/button/ButtonRowV2.tsx') diff --git a/FrontEnd/src/components/button/ButtonRowV2.tsx b/FrontEnd/src/components/button/ButtonRowV2.tsx index a54425cc..75f2ad9d 100644 --- a/FrontEnd/src/components/button/ButtonRowV2.tsx +++ b/FrontEnd/src/components/button/ButtonRowV2.tsx @@ -1,7 +1,7 @@ import { ComponentPropsWithoutRef, Ref } from "react"; import classNames from "classnames"; -import { Text, ClickableColor } from "../common"; +import { I18nText, ClickableColor } from "../common"; import Button from "./Button"; import FlatButton from "./FlatButton"; @@ -22,21 +22,21 @@ interface ButtonRowV2ButtonBase { interface ButtonRowV2ButtonWithNoType extends ButtonRowV2ButtonBase { type?: undefined | null; - text: Text; + text: I18nText; outline?: boolean; props?: ComponentPropsWithoutRef; } interface ButtonRowV2NormalButton extends ButtonRowV2ButtonBase { type: "normal"; - text: Text; + text: I18nText; outline?: boolean; props?: ComponentPropsWithoutRef; } interface ButtonRowV2FlatButton extends ButtonRowV2ButtonBase { type: "flat"; - text: Text; + text: I18nText; props?: ComponentPropsWithoutRef; } @@ -48,7 +48,7 @@ interface ButtonRowV2IconButton extends ButtonRowV2ButtonBase { interface ButtonRowV2LoadingButton extends ButtonRowV2ButtonBase { type: "loading"; - text: Text; + text: I18nText; loading?: boolean; props?: ComponentPropsWithoutRef; } -- cgit v1.2.3