import{M as p}from"./chunk-S4VUQJ4A-cf12a521.js";import{p as s,j as o}from"./jsx-runtime-b61e4b2c.js";import{u as a}from"./index-def0d143.js";import"./iframe-6dd184d1.js";import"../sb-preview/runtime.js";import"./index-9f7f7f51.js";import"./_commonjsHelpers-de833af9.js";import"./index-d37d4223.js";import"./index-e04ae519.js";import"./index-356e4a49.js";function n(t){const e=Object.assign({p:"p",img:"img",h1:"h1",a:"a",code:"code",pre:"pre"},a(),t.components);return o.jsxs(o.Fragment,{children:[o.jsx(p,{title:"Contributing/Recipes: Story with custom controls",parameters:{...s}}),` `,o.jsx(e.p,{children:o.jsx(e.img,{src:"https://graphics.thomsonreuters.com/style-assets/images/logos/reuters-graphics-logo/svg/graphics-logo-color-dark.svg",alt:""})}),` `,o.jsx(e.h1,{id:"recipes-story-with-custom-controls",children:"Recipes: Story with custom controls"}),` `,o.jsxs(e.p,{children:["You can customise the controls in Storybook's built-in ",o.jsx(e.a,{href:"https://storybook.js.org/docs/svelte/essentials/controls",target:"_blank",rel:"nofollow noopener noreferrer",children:"controls panel"})," by passing ",o.jsx(e.a,{href:"https://storybook.js.org/docs/svelte/api/argtypes",target:"_blank",rel:"nofollow noopener noreferrer",children:"argTypes"})," to ",o.jsx(e.code,{children:"Meta"})," like this:"]}),` `,o.jsx(e.pre,{children:o.jsx(e.code,{className:"language-svelte",children:`