birdpaper-icon
Version:
基于 Remix icon 生成的 Vue3 图标组件库
2 lines (1 loc) • 1.42 kB
JavaScript
import{defineComponent as m}from"vue";import{computed as i}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]=(...l)=>t.onClick&&t.onClick(...l))},[...e[1]||(e[1]=[c("path",{d:"M3 4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Zm0 10a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-6Zm10 0a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-6Zm4.713-3.872-.246.565a.506.506 0 0 1-.934 0l-.246-.565a4.363 4.363 0 0 0-2.22-2.251l-.759-.338a.53.53 0 0 1 0-.963l.717-.32a4.366 4.366 0 0 0 2.251-2.326l.253-.611a.506.506 0 0 1 .942 0l.253.611a4.366 4.366 0 0 0 2.25 2.327l.718.319a.53.53 0 0 1 0 .963l-.76.338a4.363 4.363 0 0 0-2.219 2.25Z"},null,-1)])],14,k)},z=m({name:"IconFunctionAiFill",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:t}){let e=o,l=t,n="bp-icon",s=i(()=>[n,`${n}-icon-function-ai-fill`,{[`${n}-spin`]:e.spin}]),r=i(()=>({width:e.size,height:e.size,transform:e.rotate?`rotate(${e.rotate}deg)`:void 0}));return{cls:s,innerStyle:r,onClick:a=>l("click",a)}}});export{z as default};