KendoReact Buttons Overview
The KendoReact Buttons package deliver components that represent the trigger for a simple action that user can take.
The Buttons package is part of the KendoReact library which provides native KendoReact components for the React ecosystem and are available under the kendo-react-buttons NPM package.
Basic Usage
The following example demonstrates all components from the Buttons package in action.
Installation
Download and install the package. Use Node.js v5.0.0 or later.
npm install --save @progress/kendo-react-buttons @progress/kendo-licensing
Once installed, import the package module.
// ES2015 module syntax import { Button, ButtonGroup, DropDownButton, DropDownButtonItem, FloatingActionButton, SplitButton, SplitButtonItem, Chip, ChipList, Toolbar, ToolbarItem } from '@progress/kendo-react-buttons';
// CommonJS format const { Button, ButtonGroup, DropDownButton, DropDownButtonItem, FloatingActionButton, SplitButton, SplitButtonItem, Chip, ChipList, Toolbar, ToolbarItem } = require('@progress/kendo-react-buttons');
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 Buttons package requires you to install the following peer dependencies in your application:
- react 16.8.2*
- react-dom
- @progress/kendo-licensing