mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 19:52:51 +00:00
style(skeleton): update setting pane styles
This commit is contained in:
parent
733229985b
commit
73dacadaee
@ -65,8 +65,10 @@ export class SettingsPrimaryPane extends Component<ISettingsPrimaryPaneProps, {
|
|||||||
{createIcon(settings.componentMeta?.icon, {
|
{createIcon(settings.componentMeta?.icon, {
|
||||||
className: 'lc-settings-navigator-icon',
|
className: 'lc-settings-navigator-icon',
|
||||||
})}
|
})}
|
||||||
<Title title={settings.componentMeta!.title} />
|
<div style={{ marginLeft: '5px' }}>
|
||||||
<span> x {settings.nodes.length}</span>
|
<Title title={settings.componentMeta!.title} />
|
||||||
|
<span> x {settings.nodes.length}</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -30,7 +30,10 @@ export function createIcon(
|
|||||||
return cloneElement(icon, { ...props });
|
return cloneElement(icon, { ...props });
|
||||||
}
|
}
|
||||||
if (isReactComponent(icon)) {
|
if (isReactComponent(icon)) {
|
||||||
return createElement(icon, { ...props });
|
return createElement(icon, {
|
||||||
|
class: props?.className,
|
||||||
|
...props,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
return <Icon {...icon} {...props} />;
|
return <Icon {...icon} {...props} />;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user