UNPKG

birdpaper-icon

Version:

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

2 lines (1 loc) 1.15 kB
import{defineComponent as m}from"vue";import{computed as r}from"vue";import{createElementVNode as c,normalizeClass as p,normalizeStyle as f,openBlock as d,createElementBlock as u}from"vue";var k=["fill"],y=function(t,e){return d(),u("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",class:p(t.cls),style:f(t.innerStyle),fill:t.fill,onClick:e[0]||(e[0]=(...o)=>t.onClick&&t.onClick(...o))},[...e[1]||(e[1]=[c("path",{d:"M18.001 20.003V15h2v7.003h-16V15h2v5.003h12ZM7.501 18v-2h9v2h-9Zm.077-4.38.347-1.97 8.864 1.563-.348 1.97-8.863-1.563Zm1.634-5.504 1-1.732 7.794 4.5-1 1.732-7.794-4.5Zm3.417-4.613 1.532-1.285 5.785 6.894-1.532 1.286-5.785-6.895Z"},null,-1)])],14,k)},g=m({name:"IconStackOverflowLine",render:y,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,o=t,n="bp-icon",i=r(()=>[n,`${n}-icon-stack-overflow-line`,{[`${n}-spin`]:e.spin}]),a=r(()=>({width:e.size,height:e.size,transform:e.rotate?`rotate(${e.rotate}deg)`:void 0}));return{cls:i,innerStyle:a,onClick:s=>o("click",s)}}});export{g as default};