style: adjust providers style

This commit is contained in:
jialin
2026-02-03 18:21:08 +08:00
parent 6fd886b27a
commit 51bab71291
18 changed files with 197 additions and 130 deletions
+12 -8
View File
@@ -21,6 +21,7 @@ interface LabelItemProps {
options?: Global.HintOptions[];
trim?: boolean;
data?: any;
required?: boolean;
}
const ListItem: React.FC<LabelItemProps> = (props) => {
@@ -33,6 +34,7 @@ const ListItem: React.FC<LabelItemProps> = (props) => {
options,
trim = true,
data,
required,
renderItem
} = props;
@@ -58,14 +60,16 @@ const ListItem: React.FC<LabelItemProps> = (props) => {
placeholder={props.placeholder}
/>
)}
<Button
size="small"
className="btn"
type="default"
shape="circle"
icon={<MinusOutlined />}
onClick={onRemove}
/>
{!required && (
<Button
size="small"
className="btn"
type="default"
shape="circle"
icon={<MinusOutlined />}
onClick={onRemove}
/>
)}
</div>
);
};