Common Utilities Overview
The KendoReact Common package delivers common utilities that can be used with the KendoReact UI components to enhance their performance and functionality.
Available Components
Currently, the Common package provides the following components:
The KendoReact Draggable, Icon and SvgIcon components are part of the KendoReact library and are distributed through NPM under the kendo-react-common package.
Installation
Download and install the package. Use Node.js v5.0.0 or later.
npm install --save @progress/kendo-react-common @progress/kendo-licensing
Once installed, import the package module.
// ES2015 module syntax import { Draggable, guid, classNames, Icon, SvgIcon } from '@progress/kendo-react-common';
// CommonJS format const { Draggable, guid, classNames, Icon, SvgIcon } = require('@progress/kendo-react-common');
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 Common package requires the following peer dependencies that have to be installed by your application:
- react
- react-dom
- @progress/kendo-licensing