hypnagaga/packages/graphics-components/docs/assets/PymChild.stories-Dl4xYtZ5.js

1 line
1.2 KiB
JavaScript

import{p as a}from"./props-b4vEeO_8.js";import{ae as d,G as o,B as i}from"./runtime-C3rQLW--.js";import{i as p}from"./lifecycle-F2p_Qkk3.js";import{c,d as y}from"./create-runtime-stories-7AWWVphH.js";import{o as u}from"./index-client-BAw8T8-V.js";import{p as f}from"./pym.v1-C8pfgSnW.js";const _=d({child:null});function s(t,e){i(e,!0);let r=a(e,"polling",3,500);u(()=>{let m=new f.Child({polling:r()});_.child=m}),o()}s.__docgen={data:[{name:"polling",visibility:"public",description:"Pym.js polling interval",keywords:[],kind:"let",type:{kind:"type",type:"number",text:"number"},static:!1,readonly:!1,defaultValue:"500"}],name:"PymChild.svelte"};const n={title:"Components/Utilities/PymChild",component:s},{Story:h}=y();function l(t,e){i(e,!1),p(),h(t,{name:"Demo",tags:["!autodocs","!dev"],parameters:{__svelteCsf:{rawCode:"<PymChild {...args} />"}}}),o()}l.__docgen={version:3,name:"PymChild.stories.svelte",data:[],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const C=c(l,n),g=["Demo"],P=C.Demo,D=Object.freeze(Object.defineProperty({__proto__:null,Demo:P,__namedExportsOrder:g,default:n},Symbol.toStringTag,{value:"Module"}));export{D as P};