You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is something like const { config } = getForm(); possible or should I use props like <OtherSvelteComponent {config} /> and how would I type that component?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there a way to get access to config object in different component?
For example instead of using the let:config by using something like getForm to access config.
To change it to the below:
Is something like
const { config } = getForm();
possible or should I use props like<OtherSvelteComponent {config} />
and how would I type that component?Beta Was this translation helpful? Give feedback.
All reactions