ladle-inject-custom-addons
Version:
Adds a button to the Ladle addon bar
2 lines (1 loc) • 1.19 kB
JavaScript
;var c=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var l=(o,e)=>{for(var r in e)c(o,r,{get:e[r],enumerable:!0})},I=(o,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of d(e))!i.call(o,t)&&t!==r&&c(o,t,{get:()=>e[t],enumerable:!(s=a(e,t))||s.enumerable});return o};var g=o=>I(c({},"__esModule",{value:!0}),o);var h={};l(h,{ExampleLadleIcon:()=>C,LadleDialogCloseIcon:()=>v});module.exports=g(h);var n=require("react/jsx-runtime"),p=({size:o=24,...e})=>(0,n.jsx)("svg",{width:o,height:o,viewBox:"0 0 24 24",stroke:"currentColor",fill:"none",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",...e}),v=({size:o=18,...e})=>(0,n.jsxs)(p,{size:o,...e,children:[(0,n.jsx)("path",{d:"M0 0h24v24H0z",stroke:"none"}),(0,n.jsx)("path",{d:"M18 6L6 18M6 6l12 12"})]}),C=o=>(0,n.jsx)(p,{...o,children:(0,n.jsx)("path",{d:"M 21.609 10.914 C 18.931 17.502 12.002 22.249 12.002 22.249 C 12.002 22.249 4.872 17.177 2.394 10.914 C -0.669 3.172 8.281 -0.396 12.002 6.99 C 15.722 -0.396 24.744 3.201 21.609 10.914 Z"})});0&&(module.exports={ExampleLadleIcon,LadleDialogCloseIcon});