I’m trying to adapt react-awesome-query-builder into a Dash component. One of the props this component accepts is a function that returns a component, which it uses to generate some of its children.
The prop in question is getChildren
, demonstrated here: https://github.com/ukrbublik/react-awesome-query-builder#use. Now, I know that Dash components can’t accept functions as inputs, but is there any way that I can let the user provide a template for the children that this component generates? Could they pass in a Dash component, or some other kind of template, which I then use internally?