@allakando/allakando-web-ui
Version:
Allakando's web component library
8 lines (5 loc) • 998 B
JavaScript
const n=`# Allakando Drawer
A drawer component that renders a burger menu. If clicked a drawer will open from the right side of the screen.
The drawer's open status can be controlled programmatically through an attribute called "open". Note that when clicking the menu this attribute will update, keeping the DOM in sync with what is on screen.`,s={title:"Atomic Components/Drawer",component:"ako-drawer",tags:["autodocs"],parameters:{docs:{description:{component:n}}},argTypes:{open:{options:[!0,!1],control:{type:"select"}}}},e=r=>`<ako-drawer
${r.open?`open="${r.open}"`:""}
></ako-drawer>`;e.args={open:!1};var a,o,t;e.parameters={...e.parameters,docs:{...(a=e.parameters)==null?void 0:a.docs,source:{originalSource:'args => {\n return `<ako-drawer \n ${args.open ? `open="${args.open}"` : ""}\n ></ako-drawer>`;\n}',...(t=(o=e.parameters)==null?void 0:o.docs)==null?void 0:t.source}}};const c=["Template"];export{e as Template,c as __namedExportsOrder,s as default};