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?
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{
}
But the problem is when I load the page i am getting the following error,
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?