gradio-app/gradio

Be able to pass the component loader to each svelte component

Opened this issue · 1 comments

  • I have searched to see if a similar issue already exists.

Is your feature request related to a problem? Please describe.
There are cases where a svelte component may need to load another component

  • A Chatbot for displaying gradio components embedded into them
  • A Dashboard custom component that loads several "@gradio/plot-components"

Describe the solution you'd like
The gradio prop can have a loader attribute that can load any core or registered custom component.

Additional context
Add any other context or screenshots about the feature request here.

pngwn commented

We also need this to make the Examples dynamic I think.