Skip to content
New issue

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

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

Already on GitHub? # to your account

Using a React Component as dialog content #4284

Open
atferrys opened this issue Aug 8, 2024 · 0 comments
Open

Using a React Component as dialog content #4284

atferrys opened this issue Aug 8, 2024 · 0 comments

Comments

@atferrys
Copy link

atferrys commented Aug 8, 2024

  • Framework7 version: 8.3.3
  • React.js version: 18.3.1

Describe the bug

The content parameter in the f7.dialog.create only allows text and HTML tags.

Is it possible to use a custom React Component inside the dialog body?
Possibly not by rendering a static version of the component but instead allowing the use of react features such as hooks, etc...

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant