From 65c6d5717d5ca1e0b74410cdc8e88adfe7152b51 Mon Sep 17 00:00:00 2001 From: Danial Soheili <33312687+ds1371dani@users.noreply.github.com> Date: Mon, 16 Jan 2023 18:48:56 +0330 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20STYLE:=20wrong=20text=20color=20?= =?UTF-8?q?&=20cursor=20when=20Radio=20is=20disabled=20(#40273)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/radio/style/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/radio/style/index.tsx b/components/radio/style/index.tsx index a942061c9a..38a1726249 100644 --- a/components/radio/style/index.tsx +++ b/components/radio/style/index.tsx @@ -105,6 +105,7 @@ const getRadioBasicStyle: GenerateStyle = (token) => { '&-disabled': { cursor: 'not-allowed', + color: token.colorTextDisabled, }, '&::after': { @@ -227,7 +228,7 @@ const getRadioBasicStyle: GenerateStyle = (token) => { }, }, - '&-input': { + [`${componentCls}-input`]: { cursor: 'not-allowed', },