--- title: TreeView description: "Learn how to build custom functionality when working with the React TreeView by Kendo UI with the help of the TreeView." api_reference: true type: inner_api slug: api_treeview_treeview --- # TreeView Represents the [KendoReact TreeView component](https://www.telerik.com/kendo-react-ui/components/treeview). A [Functional Component](https://react.dev/reference/react/Component). ```jsx const data = [{ text: 'Furniture', expanded: true, items: [ { text: 'Tables & Chairs' }, { text: 'Sofas' }, { text: 'Occasional Furniture' }] }, { text: 'Decor', expanded: true, items: [ { text: 'Bed Linen' }, { text: 'Curtains & Blinds' }, { text: 'Carpets' }] }]; const App = () => { return ; } ```
Name Type Default Description
#### props [TreeViewProps]({% slug api_treeview_treeviewprops %}) [intersected](https://www.typescriptlang.org/docs/handbook/advanced-types.html#intersection-types) with RefAttributes<[TreeViewHandle]({% slug api_treeview_treeviewhandle %})> The props of the TreeView component.