Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be able to pass the component loader to each svelte component #8257

Open
1 task
freddyaboulton opened this issue May 10, 2024 · 1 comment
Open
1 task
Labels
enhancement New feature or request refactor Involves refactoring existing code

Comments

@freddyaboulton
Copy link
Collaborator

  • 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.

@freddyaboulton freddyaboulton added enhancement New feature or request refactor Involves refactoring existing code labels May 10, 2024
@pngwn
Copy link
Member

pngwn commented May 10, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor Involves refactoring existing code
Projects
None yet
Development

No branches or pull requests

2 participants