Hi there,
New to these technologies but have got working samples in React and am now trying to integrate Webix controls in them.
So trying to get the basic sample custom component working. I have this:
import * as React from 'react';
import '../components/webix/webix.js'
import '../components/webix/webix.css'
class FirstSlider extends React.Component {
render() {
const ui = {
view: "slider"
};
const value = 123;
const SliderView = () => (
<Webix ui={ui} data={value} />
)
return (
<div>
{SliderView}
</div>
)
}
}
where this a tsx
file. Typescript doesn’t like the Webix tag and fails with “cannot find name Webix…”
I know this is a basic question but what am i missing? I have been though the typescript and react samples provided but there are none with both technologies together.
Any help appreciated!
Mike