`
import {JetView} from “webix-jet”;
export default class TicketView extends JetView {
config() {
return {
template: {
view: "toolbar",
height: 44,
cols: [
{view: "button", label: "New", autowidth: true}
],
}
};
}
}
`
I am then trying to use the view statically, like so:
`
{
view: “tabview”,
cells: [
{id: “overviewView”, header: “Overview”, body: {template: “Overview”}},
{id: “ticketView”, header: “Tickets”, body: TicketView},
]
}
`
But the TicketView renders as such:
[object Object]
What am I doing wrong?