UNPKG

birdpaper-icon

Version:

基于 Remix icon 生成的 Vue3 图标组件库

2 lines (1 loc) 1.09 kB
import{defineComponent as m}from"vue";import{computed as i}from"vue";import{createElementVNode as p,normalizeClass as c,normalizeStyle as f,openBlock as d,createElementBlock as u}from"vue";var k=["fill"],y=function(l,e){return d(),u("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",class:c(l.cls),style:f(l.innerStyle),fill:l.fill,onClick:e[0]||(e[0]=(...t)=>l.onClick&&l.onClick(...t))},[...e[1]||(e[1]=[p("path",{d:"m22.207 20.793-1.414 1.414L19.586 21H16v-3.586l-1-1V21H9V10.414L1.793 3.207l1.414-1.414 19 19ZM8 21H2v-8h6v8Zm14-3.242-6-6V3h6v14.758Zm-7-7L12.242 8H15v2.758Z"},null,-1)])],14,k)},w=m({name:"IconSignalCellularOffFill",render:y,props:{size:{type:String,default:"18px"},fill:{type:String,default:"#595959"},spin:{type:Boolean,default:!1},rotate:{type:Number}},emits:["click"],setup(o,{emit:l}){let e=o,t=l,n="bp-icon",r=i(()=>[n,`${n}-icon-signal-cellular-off-fill`,{[`${n}-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:s=>t("click",s)}}});export{w as default};