birdpaper-icon
Version:
基于 Remix icon 生成的 Vue3 图标组件库
2 lines (1 loc) • 1.14 kB
JavaScript
import{defineComponent as p}from"vue";import{computed as i}from"vue";import{createElementVNode as m,normalizeClass as c,normalizeStyle as d,openBlock as f,createElementBlock as u}from"vue";var k=["fill"],y=function(t,e){return f(),u("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",class:c(t.cls),style:d(t.innerStyle),fill:t.fill,onClick:e[0]||(e[0]=(...n)=>t.onClick&&t.onClick(...n))},[...e[1]||(e[1]=[m("path",{d:"M22 12c0 5.523-4.477 10-10 10a9.984 9.984 0 0 1-8-3.999V20.5H2v-6h6v2H5.385A8 8 0 0 0 20 12h2Zm-10-2a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm0-8a9.984 9.984 0 0 1 8 3.999V3.5h2v6h-6v-2h2.615A8 8 0 0 0 4 12H2C2 6.477 6.477 2 12 2Z"},null,-1)])],14,k)},z=p({name:"IconIssuesReopenLine",render:y,props:{size:{type:String,default:"18px"},fill:{type:String,default:"#595959"},spin:{type:Boolean,default:!1},rotate:{type:Number}},emits:["click"],setup(s,{emit:t}){let e=s,n=t,o="bp-icon",r=i(()=>[o,`${o}-icon-issues-reopen-line`,{[`${o}-spin`]:e.spin}]),a=i(()=>({width:e.size,height:e.size,transform:e.rotate?`rotate(${e.rotate}deg)`:void 0}));return{cls:r,innerStyle:a,onClick:l=>n("click",l)}}});export{z as default};