TreeView
A subclass of React.Component.
Represents the KendoReact TreeView component.
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' }]
}];
class App extends React.Component {
render() {
return <TreeView data={data} />;
}
}
ReactDOM.render(<App />, document.querySelector('my-app'));
Name | Type | Default | Description |
---|---|---|---|
guid |
|
Returns the | |
props |
|
The props of the TreeView component. |