-
+
+
+
+ {p.icon}
{shape.props.label || p.label}
- {!isBoundary && shape.props.questionId && Attached}
+ {!isBoundary && shape.props.questionId && Attached}
+ {isBoundary && pair across pages}
)
}
function defaultProps(kind: ExamCanvasShapeKind, w: number, h: number) {
- const p = palette[kind]
+ const p = canvasShapePalette[kind]
return { w, h, label: p.label, kind, responseForm: kind === 'response' ? 'lines' : undefined, contextType: kind === 'context' ? 'generic' : undefined }
}