mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-08 03:27:20 +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 };
|
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;
|
let tip: any = null;
|
||||||
if (title.tip) {
|
if (title.tip) {
|
||||||
|
|||||||
@ -18,7 +18,7 @@ export interface IconProps {
|
|||||||
|
|
||||||
export function SVGIcon({
|
export function SVGIcon({
|
||||||
fill,
|
fill,
|
||||||
size = 'large',
|
size = 'medium',
|
||||||
viewBox,
|
viewBox,
|
||||||
style,
|
style,
|
||||||
children,
|
children,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user