UNPKG

birdpaper-icon

Version:

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

2 lines (1 loc) 1.03 kB
import{defineComponent as c}from"vue";import{computed as s}from"vue";import{createElementVNode as p,normalizeClass as m,normalizeStyle as f,openBlock as d,createElementBlock as u}from"vue";var v=["fill"],k=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:"M22 17h-2v-7a8 8 0 1 0-16 0v7H2v2h20v-2Zm-7 6v-2H9v2h6ZM9 9V7h6v2.414L11.414 13H15v2H9v-2.414L12.586 9H9Z"},null,-1)])],14,v)},h=c({name:"IconNotificationSnoozeFill",render:k,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",r=s(()=>[n,`${n}-icon-notification-snooze-fill`,{[`${n}-spin`]:e.spin}]),a=s(()=>({width:e.size,height:e.size,transform:e.rotate?`rotate(${e.rotate}deg)`:void 0}));return{cls:r,innerStyle:a,onClick:i=>o("click",i)}}});export{h as default};