UNPKG

wangbd-myui

Version:

MY前端基础框架核心组件库

21 lines (15 loc) 1.05 kB
/** * 该文件由 .my/core/build/svg.js 生成 */ import Vue from 'vue' import globalConfig from '$ui/config' const Icon = ({props}) => { const attrs = {...globalConfig.svg, ...props} return ( <svg {...{attrs: attrs}}> <path d="M512 64c26.8 0 51.6 12.1 68.1 33.2 19.7 25.3 41 51.2 61.6 76.3 54.7 66.7 111.3 135.6 153.4 209.3 21.9 38.3 37.9 74.3 49 110.2 12.2 39.5 18.1 77.7 18.1 116.9 0 46.8-9.3 92.4-27.6 135.5-17.8 41.7-43.2 79.2-75.5 111.6-32.3 32.3-69.9 57.7-111.6 75.5C604.4 950.7 558.8 960 512 960s-92.4-9.3-135.5-27.6c-41.7-17.8-79.2-43.2-111.6-75.5-32.3-32.3-57.7-69.9-75.5-111.6-18.3-43.1-27.6-88.6-27.6-135.5 0-39.2 5.9-77.4 18.1-116.9C191 457 207 421 228.9 382.7 271 309 327.6 240.1 382.3 173.4c20.6-25.1 41.9-51 61.6-76.3C460.4 76.1 485.2 64 512 64m0-64c-44.2 0-88.4 19.3-118.5 57.9C271.1 214.8 97.8 383.6 97.8 609.8 97.8 837 284.8 1024 512 1024s414.2-187 414.2-414.2c0-226.2-173.3-395-295.7-552C600.4 19.3 556.2 0 512 0z"/> </svg> ) } Vue.component('icon-drip', Icon) export default Icon