import{j as t,R as e,p as r,n as c,a3 as i,ay as o}from"./iframe-DvhcA1iZ.js";import"./preload-helper-PPVm8Dsz.js";const s={table:{category:"Demo controls"}},E={title:"Components/Layout/List/Item",component:t,tags:["autodocs","layout"],argTypes:{inset:{type:"boolean"},selected:{type:"boolean"},Link:{controls:"none"},renderList:{...s,type:"boolean",name:"Render <List> around"}}},y={args:{children:"I am a list item"},render:n=>{const a=n.renderList,m=o(n,["renderList"]),l=[e.createElement(t,{key:1,...m}),e.createElement(t,{key:2},"Other item"),e.createElement(t,{key:3},"Other item")];return a?e.createElement(r,null,l):e.createElement("div",null,l)}},k={args:{children:[e.createElement("div",{key:"1st"},"first"),e.createElement("div",{key:"2nd"},"2nd"),e.createElement("div",{key:"3rd"},"last")],ratio:"1/2/1"},render:n=>e.createElement(r,null,e.createElement(t,{...n}),e.createElement(t,null,"Other item"),e.createElement(t,null,"Other item"))},h={args:{children:"I am a list item, but I will render a button, click me",onClick:()=>{alert("Clicked!")}},render:n=>e.createElement(r,null,e.createElement(t,{...n}),e.createElement(t,null,"Other item"),e.createElement(t,null,"Other item"))},p={args:{children:[e.createElement(c,{key:"l"},"Hi"),e.createElement(i,{key:"v"},"Value")],selected:!0},render:n=>e.createElement(r,null,e.createElement(t,{...n}),e.createElement(t,null,"Other item"),e.createElement(t,null,"Other item"))},O=["Primary","Alignment","OnClick","Complex"];export{k as Alignment,p as Complex,h as OnClick,y as Primary,O as __namedExportsOrder,E as default};
