# CommonIcon 公共ICON ### 基础用法 :::demo ```vue ``` ::: :::demo ```vue ``` ::: ### 配置参数 | 参数 | 说明 | 类型 | 是否必须 | | :------------------ | :------------------------------------------------------------ | :--------------- | :------- | |name| icon名称,目前分为'common-'和'tool-'|String|true| |size| icon的大小,如果不传,默认为18|Number|true| |content| icon hover上去时的tooltip展示,不传默认为没有|String|true| |color| 图标展示的颜色,所有svg图片默认为currentColor,如果不传为’#333‘,如果传即为设定颜色,彩色图片不在此列 |String|true| |effect| tool-tip背景色,默认为’dark‘具体使用方法参考element-plus的el-tooltip组件 |String|true| |placement| tool-tip显示位置,默认为’top-start‘具体使用方法参考element-plus的el-tooltip组件 |String|true|