import{A as a,R as n}from"./iframe-DvhcA1iZ.js";import"./preload-helper-PPVm8Dsz.js";const c={title:"Components/UI/Action",component:a,tags:["autodocs","ui"],args:{badge:""},argTypes:{badge:{control:{type:"text"}},href:{type:"string"}}},i={args:{label:"Section name",icon:"checkmark"},render:e=>{const t={...e};return e.label||delete t.label,n.createElement(a,{...t})}},l={args:{label:"I am a button",icon:"checkmark",onClick:()=>{alert("Clicked")}}},m={args:{label:"I am a link",icon:"checkmark",href:"https://example.com"}},s={args:{label:"I am a custom link",icon:"checkmark",to:"/subpage",Link:e=>n.createElement("a",{href:e.href,onClick:t=>{t.preventDefault(),alert("I'd take you to "+e.href)}},e.children)}},k=["Primary","Button","Link","WithCustomLink"];export{l as Button,m as Link,i as Primary,s as WithCustomLink,k as __namedExportsOrder,c as default};
