I cannot figure out how to add the react component to the custom component in Retool.
It seems like import SortableTree from 'react-sortable-tree'; doesn't work? But I'm not sure.
Can anyone copy/paste an example of using a 3rd party React component in the custom component tool in Retool?
I really need this antd tree select in the app that I am working on. For whatever reason, I am unable to access the Model variables like normal using this example.
The only difference that I can see is that we're switching from react.product.js to react.development.js. Is something else different about the way that models are passed in? Help!
The goal here, by the way, is to pass the data from a query into this tree select. If anyone has details on how that is done that would be very helpful! Thanks.
Hey osmcgraw!
I do think that there is something different about how those libraries work. I've made this work by using different cdn links for React and ANTD. Let me know if this setup doesn't work for you!