style(components): 移除图标组件中的固定文本大小样式
移除了 Check.tsx 和 Radio.tsx 文件中 Icon 组件的 text-[14px] 类,以适应新的设计要求。这项更改将使图标大小更加灵活,以便在不同场景下自定义样式。
This commit is contained in:
@@ -19,8 +19,8 @@ interface RadioProps {
|
||||
}
|
||||
|
||||
const RadioIcon = [
|
||||
() => <Icon icon="hugeicons:circle" class="text-[14px] stroke-1" />,
|
||||
() => <Icon icon="hugeicons:checkmark-circle-03" class="text-[14px] stroke-1 text-primary" />,
|
||||
() => <Icon icon="hugeicons:circle" class="stroke-1" />,
|
||||
() => <Icon icon="hugeicons:checkmark-circle-03" class="stroke-1 text-primary" />,
|
||||
];
|
||||
|
||||
const Radio: ParentComponent<RadioProps> = (props) => {
|
||||
|
Reference in New Issue
Block a user