mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-11 02:12:56 +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, {
|
||||
className: 'lc-settings-navigator-icon',
|
||||
})}
|
||||
<Title title={settings.componentMeta!.title} />
|
||||
<span> x {settings.nodes.length}</span>
|
||||
<div style={{ marginLeft: '5px' }}>
|
||||
<Title title={settings.componentMeta!.title} />
|
||||
<span> x {settings.nodes.length}</span>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@ -30,7 +30,10 @@ export function createIcon(
|
||||
return cloneElement(icon, { ...props });
|
||||
}
|
||||
if (isReactComponent(icon)) {
|
||||
return createElement(icon, { ...props });
|
||||
return createElement(icon, {
|
||||
class: props?.className,
|
||||
...props,
|
||||
});
|
||||
}
|
||||
|
||||
return <Icon {...icon} {...props} />;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user