birdpaper-icon
Version:
基于 Remix icon 生成的 Vue3 图标组件库
2 lines (1 loc) • 2.04 kB
JavaScript
import{defineComponent as c}from"vue";import{computed as i}from"vue";import{createElementVNode as p,normalizeClass as m,normalizeStyle as d,openBlock as f,createElementBlock as u}from"vue";var h=["fill"],k=function(l,e){return f(),u("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",class:m(l.cls),style:d(l.innerStyle),fill:l.fill,onClick:e[0]||(e[0]=(...t)=>l.onClick&&l.onClick(...t))},[...e[1]||(e[1]=[p("path",{d:"m5.92 15.3 3.94-2.2.06-.2-.06-.1h-.2L9 12.76l-2.24-.06-1.96-.1-1.9-.1-.48-.1-.42-.6.04-.3.4-.26.58.04 1.26.1 1.9.12 1.38.08 2.04.24h.32l.04-.14-.1-.08-.08-.08L7.8 10.2 5.68 8.8l-1.12-.82-.6-.4-.3-.4-.12-.84.54-.6.74.06.18.04.74.58 1.6 1.22L9.4 9.2l.3.24.12-.08.02-.06-.14-.22L8.6 7 7.4 4.92l-.54-.86-.14-.52c-.06-.2-.08-.4-.08-.6l.6-.84.36-.1.84.12.32.28.52 1.2.82 1.86 1.3 2.52.4.76.2.68.06.2h.14v-.1l.1-1.44.2-1.74.2-2.24.06-.64.32-.76.6-.4.52.22.4.58-.06.36L14.32 5l-.52 2.42-.3 1.64h.18l.2-.22.82-1.08 1.38-1.72.6-.7.72-.74.46-.36h.86l.62.94-.28.98-.88 1.12-.74.94-1.06 1.42-.64 1.14.06.08h.14l2.4-.52 1.28-.22 1.52-.26.7.32.08.32-.28.68-1.64.4-1.92.4-2.86.66-.04.02.04.06 1.28.12.56.04h1.36l2.52.2.66.4.38.54-.06.4-1.02.52-1.36-.32-3.2-.76-1.08-.26h-.16v.08l.92.9 1.66 1.5 2.12 1.94.1.48-.26.4-.28-.04-1.84-1.4-.72-.6-1.6-1.36h-.1v.14l.36.54 1.96 2.94.1.9-.14.28-.52.2-.54-.12-1.16-1.6-1.2-1.8-.94-1.64-.1.08-.58 6.04-.26.3-.6.24-.5-.4-.28-.6.28-1.24.32-1.6.26-1.28.24-1.58.14-.52v-.04h-.14l-1.2 1.66-1.8 2.46-1.44 1.52-.34.14-.6-.3.06-.56.32-.46 2-2.56 1.2-1.58.8-.92-.02-.1h-.06l-5.28 3.44-.94.12-.4-.4.04-.6.2-.2 1.6-1.1h-.02Z"},null,-1)])],14,h)},z=c({name:"IconClaudeFill",render:k,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-claude-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{z as default};