We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
from typing import Any import reflex as rx class JBrowseLinearGenomeView(rx.NoSSRComponent): library = "@jbrowse/react-linear-genome-view" tag = "JBrowseLinearGenomeView" view_state: rx.Var[Any] def j_browse_linear_genome_view(view_state: dict | rx.Var[dict]): return JBrowseLinearGenomeView.create( view_state=rx.Var( "createViewState", _var_data=rx.vars.VarData( imports={"@jbrowse/react-linear-genome-view": "createViewState"} ), ) .to(rx.vars.FunctionVar) .call(view_state) ) def index() -> rx.Component: return rx.flex( j_browse_linear_genome_view({}), ) app = rx.App() app.add_page(index)
found by @panxiaoguang
The text was updated successfully, but these errors were encountered:
ENG-5184 Dynamic Components removes all imports form the library
Sorry, something went wrong.
adhami3310
Successfully merging a pull request may close this issue.
found by @panxiaoguang
The text was updated successfully, but these errors were encountered: