birdpaper-icon
Version:
基于 Remix icon 生成的 Vue3 图标组件库
2 lines (1 loc) • 2.44 kB
JavaScript
import{defineComponent as a}from"vue";import{computed as i}from"vue";import{createElementVNode as p,normalizeClass as m,normalizeStyle as d,openBlock as f,createElementBlock as u}from"vue";var k=["fill"],C=function(t,e){return f(),u("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",class:m(t.cls),style:d(t.innerStyle),fill:t.fill,onClick:e[0]||(e[0]=(...n)=>t.onClick&&t.onClick(...n))},[...e[1]||(e[1]=[p("path",{d:"M19.749 6.703c.6-.611 1.276-.818 2.073-.818.677 0 1.055-.367 1.347-.65.215-.21.373-.373.58-.308.236.073.255.345.236.565-.176 1.991-1.45 3.612-3.476 3.842-.187.02-.224.084-.22.247 0 2.554-.987 4.787-2.548 6.737-.364.454-.28 1.079.269 1.275.281.101.62.227 1.053.433.254.122.303.776-.401.926-.448.093-.934.15-1.421.147-1.2-.006-2.484.163-3.567.681-1.13.541-2.172.648-3.139.703-4.483.266-8.615-3.094-9.39-7.5C.48 9.188 2.572 5.072 6.664 4.612a9.474 9.474 0 0 1 1.422-.055c.79.03 1.536-.144 2.281-.318.685-.16 1.367-.32 2.08-.32.843 0 1.006.319.747.412-.247.09-1.193 1.169-.371 1.768.753.476 1.395 1.13 2.037 1.783.841.857 1.683 1.713 2.776 2.171.183.076.262.038.314-.134.035-.114.072-.227.109-.339.05-.153.1-.306.146-.462.042-.131.008-.222-.124-.311-1.578-1.072-2.3-3.312-1.356-5.038.202-.363.491-.312.621.072.155.659.334.979 1.208 1.37.644.289 1.068.738 1.196 1.492Zm-7.46 1.455C10.753 7.02 8.799 6.384 6.887 6.6c-1.382.156-2.4.914-3.043 1.947.223.016.471.043.746.084 2.269.333 4.201 1.358 5.8 2.95.969.965 1.734 2.11 2.435 3.087.58.808 1.13 1.525 1.77 2.112 1.245-1.07 2.084-2.362 2.455-2.979.848-1.41.643-1.506-.197-1.902-.537-.253-1.334-.63-2.28-1.55-1.013-.982-1.496-1.603-2.284-2.19Zm-9.173 4.479c.591 3.363 3.592 5.836 7.301 5.85a5.64 5.64 0 0 0 2.474-.575c-.65-.66-1.193-1.386-1.69-2.079-.76-1.058-1.403-2.02-2.223-2.836-1.315-1.31-2.862-2.122-4.678-2.389a6.153 6.153 0 0 0-1.19-.079 6.228 6.228 0 0 0 .006 2.108Zm12.078-1.494c-.475-.465-1.293-1.186-2.057-.767C12 11 14.354 13.481 15.472 13.43c1.782-.083.25-1.676-.278-2.286Z"},null,-1)])],14,k)},B=a({name:"IconDeepseekLine",render:C,props:{size:{type:String,default:"18px"},fill:{type:String,default:"#595959"},spin:{type:Boolean,default:!1},rotate:{type:Number}},emits:["click"],setup(l,{emit:t}){let e=l,n=t,o="bp-icon",r=i(()=>[o,`${o}-icon-deepseek-line`,{[`${o}-spin`]:e.spin}]),c=i(()=>({width:e.size,height:e.size,transform:e.rotate?`rotate(${e.rotate}deg)`:void 0}));return{cls:r,innerStyle:c,onClick:s=>n("click",s)}}});export{B as default};