mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-12 17:08:14 +00:00
refactor: 把图标默认大小改回 medium, 左侧图标单独设置成 large
This commit is contained in:
parent
1cfbe450ce
commit
83f61ee46e
@ -37,7 +37,7 @@ export class Title extends Component<{ title: TitleContent; className?: string;
|
||||
title = { label: title };
|
||||
}
|
||||
|
||||
const icon = title.icon ? createIcon(title.icon) : null;
|
||||
const icon = title.icon ? createIcon(title.icon, { size: 20 }) : null;
|
||||
|
||||
let tip: any = null;
|
||||
if (title.tip) {
|
||||
|
||||
@ -18,7 +18,7 @@ export interface IconProps {
|
||||
|
||||
export function SVGIcon({
|
||||
fill,
|
||||
size = 'large',
|
||||
size = 'medium',
|
||||
viewBox,
|
||||
style,
|
||||
children,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user