Replies: 1 comment
-
第一种:fromIcon( '','svg图标网络地址', IconType.Mask ): |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我在core/packages/startup模块中开发一个界面,需要用到一些svg图标,然后我找到了iconService的方法
fromIcon( basePath: string, icon?: { [index in IconThemeType]: string } | string, type?: IconType, shape?: IconShape, fromExtension?: boolean, ): string | undefined;
接口里面icon参数定义为路径的url,我想知道,假如我的svg放置在core/packages/startup/resources下,icon应该填写什么样的路径传参?
Beta Was this translation helpful? Give feedback.
All reactions