Skip to content

kendo.ui  #5

Description

@hosain-cse2

Hi,

I am trying to use the react-kendo in my react project. I want to use the context menu.

Following is my code,

import React from 'react';
var k = React.Kendo = require('react-kendo');

var contextMenuOptions = {
target: "#target",
alignToAnchor: true
};

export default class ContextMenu extends React.Component{

constructor(){
    super();
}

render(){

    return  (
        <div>
            <h1 id="target">Right click here...</h1>
            <k.kendoContextMenu options={contextMenuOptions}></k.kendoContextMenu>
        </div>
    );
}

}

But the problem is when I load the page i am getting the following error,

                                Error: kendo.ui not found

I am also using the webpack. Can you please tell me how can I solve this problem?
Do I need to install any other packages?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions