UNPKG

birdpaper-icon

Version:

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

2 lines (1 loc) 2 kB
import{defineComponent as c}from"vue";import{computed as r}from"vue";import{createElementVNode as p,normalizeClass as m,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: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:"M16.705 11.108c-.162-2.987-1.794-4.697-4.534-4.714-1.652-.01-3.033.69-3.879 1.973L9.8 9.4c.634-.961 1.635-1.16 2.36-1.153.903.006 1.583.268 2.024.78.32.372.535.887.642 1.536-.8-.136-1.666-.178-2.59-.125-2.606.15-4.28 1.67-4.168 3.781.057 1.071.59 1.993 1.502 2.595.77.509 1.764.757 2.795.701 1.363-.075 2.432-.595 3.178-1.545.566-.722.924-1.658 1.082-2.836.65.392 1.13.907 1.397 1.527.452 1.054.478 2.786-.935 4.198-1.238 1.236-2.726 1.772-4.975 1.788-2.495-.018-4.382-.819-5.608-2.378-1.15-1.46-1.743-3.57-1.765-6.269.022-2.7.616-4.809 1.765-6.27 1.226-1.559 3.113-2.359 5.608-2.377 2.513.019 4.432.822 5.706 2.39.625.768 1.095 1.734 1.406 2.86l1.766-.47c-.377-1.387-.969-2.582-1.774-3.573-1.633-2.01-4.033-3.039-7.11-3.06-3.071.021-5.433 1.055-7.019 3.071-1.411 1.795-2.14 4.306-2.164 7.436.024 3.13.753 5.627 2.164 7.422 1.587 2.016 3.96 3.05 7.03 3.071 2.731-.019 4.655-.734 6.24-2.317 2.075-2.073 2.012-4.67 1.329-6.264-.525-1.225-1.57-2.206-2.98-2.81Zm-4.438 4.557c-1.142.064-2.328-.448-2.387-1.546-.043-.814.58-1.722 2.457-1.83a9.389 9.389 0 0 1 2.533.174c-.216 2.702-1.485 3.14-2.603 3.202Z"},null,-1)])],14,k)},B=c({name:"IconThreadsFill",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,n=t,o="bp-icon",i=r(()=>[o,`${o}-icon-threads-fill`,{[`${o}-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=>n("click",s)}}});export{B as default};