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