Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render(props) {
const root = this._sheet.getRoot();
if (!is(root, 'dmn:DMNElement')) {
return null;
}
const businessObject = getBusinessObject(root);
const inputs = businessObject.input,
outputs = businessObject.output;
return
{
this.slotFills({
type: 'cell',
context: { cellType: 'before-label-cells' }
})
}
{
this.slotFill({
render(props) {
const { components } = this.context;
const root = this._sheet.getRoot();
if (!is(root, 'dmn:DMNElement')) {
return null;
}
const businessObject = getBusinessObject(root);
const inputs = businessObject.input,
outputs = businessObject.output;
const InputLabelCellComponent = components.getComponent(
'cell',
{ cellType: 'input-label' }
);
const OutputLabelComponent = components.getComponent(
'cell',
{ cellType: 'output-label' }
);
const beforeComponents = components.getComponents(
'cell',
{ cellType: 'before-label-cells' }