All Components

You are on the site of the Kendo UI Wrappers for React suite which contains wrappers for the Kendo UI for jQuery widgets. To explore the brand-new set of Kendo UI for React components which are built from the ground up, go to the Kendo UI for React suite.

Popups Overview

The Popups allow you to choose from a predefined list of options.

Basic Usage

The following example demonstrates the Notification and Tooltip components in action.

class PopupsContainer extends React.Component {
    constructor(props) {
            super(props);
            this.content = props.content;
            this.showPopUpNotification = this.showPopUpNotification.bind(this);
    }

    showPopUpNotification = (e) => {
        this.popUpNotificationWidget.show('success');
    }

    render() {
        return (
            <div className="example-wrapper">
                <div className="col-xs-12 col-sm-2 example-col">
                    <p>Tooltip</p>
                    <Tooltip content={this.content}>
                        Hover me
                    </Tooltip>
                </div>
                <div className="col-xs-12 col-sm-6 example-col">
                    <p>Notification</p>
                    <button className="k-button" onClick={this.showPopUpNotification}>POPUP AT BOTTOM-RIGHT</button>
                    <Notification widgetRef={(widget) => this.popUpNotificationWidget = widget} />
                </div>                
            </div>
        );
    }
}
ReactDOM.render(
    <PopupsContainer content={'Tooltip content'} />,
    document.querySelector('my-app')
);

Installation

All components that you reference during the installation will be present in the final bundle of your application. To avoid ending up with components you do not actually need, import only the used component from the package.

  1. Download and install the package.

    npm install --save @progress/kendo-popups-react-wrapper
  2. Once installed, import the desired component from the package.

    import { Tooltip } from '@progress/kendo-popups-react-wrapper';

    The package also exports the following individual components:

    • Notification
    • Tooltip
  3. You are required to install one of the Kendo UI themes to style your components.

Dependencies

The Popups package requires you to install the following peer dependencies in your application:

  • @progress/kendo-ui
In this article