KendoReact Dropdowns Overview
The KendoReact Dropdowns allow you to choose from a predefined list of options.
The Dropdowns components are part of the KendoReact library which provides native KendoReact components for the React ecosystem and are available under the kendo-react-dropdowns NPM package.
Basic Usage
The following example demonstrates the AutoComplete, ComboBox, MultiColumnComboBox, DropDownList, and MultiSelect components in action.
Installation
Download and install the package. Use Node.js v5.0.0 or later.
npm install --save @progress/kendo-react-dropdowns @progress/kendo-react-intl @progress/kendo-licensing
Once installed, import the package module.
// ES2015 module syntax import { AutoComplete, ComboBox, MultiColumnComboBox, DropDownList, MultiSelect, DropDownTree } from '@progress/kendo-react-dropdowns';
// CommonJS format const { AutoComplete, ComboBox, MultiColumnComboBox, DropDownList, MultiSelect, DropDownTree } = require('@progress/kendo-react-dropdowns');
You are required to install one of the KendoReact themes to style your components. For more information on how to add the styles, refer to the article on getting started.
Follow the instructions on the KendoReact My License page to activate your license. You can skip this step if your application already contains a KendoReact license file.
Dependencies
The Dropdowns package requires you to install the following peer dependencies in your application:
- react 16.8.2*
- react-dom
- @progress/kendo-licensing
- @progress/kendo-react-intl
- @progress/kendo-react-treeview