From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- app/components/base/radio-card/simple/index.tsx | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/components/base/radio-card/simple/index.tsx b/app/components/base/radio-card/simple/index.tsx index 7bb5c0f..926fc02 100644 --- a/app/components/base/radio-card/simple/index.tsx +++ b/app/components/base/radio-card/simple/index.tsx @@ -6,12 +6,12 @@ type Props = { className?: string - title: string | React.JSX.Element | null + title: string | JSX.Element | null description: string isChosen: boolean onChosen: () => void chosenConfig?: React.ReactNode - icon?: React.JSX.Element + icon?: JSX.Element extra?: React.ReactNode } @@ -31,11 +31,11 @@ <div className='flex px-3 py-2'> {icon} <div> - <div className='flex items-center justify-between'> - <div className='text-sm font-medium leading-5 text-gray-900'>{title}</div> + <div className='flex justify-between items-center'> + <div className='leading-5 text-sm font-medium text-gray-900'>{title}</div> <div className={s.radio}></div> </div> - <div className='text-xs font-normal leading-[18px] text-gray-500'>{description}</div> + <div className='leading-[18px] text-xs font-normal text-gray-500'>{description}</div> </div> </div> {extra} -- Gitblit v1.8.0