Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

Commit a9ce117

Browse files
committed
fix: add superdoc class and data attribute to eSign component
1 parent 73e3580 commit a9ce117

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/index.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,12 @@ const SuperDocESign = forwardRef<SuperDocESignHandle, SuperDocESignProps>(
526526
[accept, reset, updateFields, getStatus, getFields, requestDownload],
527527
);
528528

529-
return <div ref={containerRef} className={className} style={style} />;
529+
return <div
530+
ref={containerRef}
531+
className={`superdoc-esign ${className || ''}`}
532+
data-superdoc="esign"
533+
style={style}
534+
/>;
530535
},
531536
);
532537

0 commit comments

Comments
 (0)