UNPKG

birdpaper-icon

Version:

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

2 lines (1 loc) 1.48 kB
import{defineComponent as a}from"vue";import{computed as i}from"vue";import{createElementVNode as p,normalizeClass as m,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:m(t.cls),style:f(t.innerStyle),fill:t.fill,onClick:e[0]||(e[0]=(...o)=>t.onClick&&t.onClick(...o))},[...e[1]||(e[1]=[p("path",{d:"M14.865 3.063c.857 0 1.618.544 1.896 1.355l.602 1.758c.269.785.993 1.32 1.817 1.352h.553c.027 0 .054.003.08.003h.073l-.005.002c3.672.114 2.36 4.494 1.356 7.782-.86 2.811-2.149 5.623-4.297 5.623H9.36c-.86 0-1.625-.55-1.9-1.365l-.586-1.739a2.005 2.005 0 0 0-1.877-1.364h-.73c-3.855 0-2.523-4.454-1.505-7.784.86-2.812 2.149-5.623 4.297-5.623h7.806Zm-1.62 4.468c-.812 0-1.535.49-1.845 1.225-.67 2.272-1.391 4.746-1.83 6.264a2.006 2.006 0 0 1-1.905 1.449h3.078c.862 0 1.623-.552 1.897-1.363.659-2.234 1.36-4.639 1.79-6.127a2.005 2.005 0 0 1 1.857-1.448h-3.041Z"},null,-1)])],14,k)},w=a({name:"IconMicrosoftCopilotFill",render:y,props:{size:{type:String,default:"18px"},fill:{type:String,default:"#595959"},spin:{type:Boolean,default:!1},rotate:{type:Number}},emits:["click"],setup(n,{emit:t}){let e=n,o=t,l="bp-icon",r=i(()=>[l,`${l}-icon-microsoft-copilot-fill`,{[`${l}-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=>o("click",s)}}});export{w as default};