API Reference > ui-components > Tree > useModelSource useModelSource Function Beta Custom hook which creates TreeModelSource useModelSource(dataProvider: TreeDataProvider): TreeModelSource Parameter Type Description dataProvider TreeDataProvider Returns - TreeModelSource Defined in ui/components/src/ui-components/tree/controlled/TreeHooks.ts Line 53 Last Updated: 13 June, 2024