@codecademy/gamut
73.6.173.6.2-alpha.3e37cd.0
dist/Coachmark/index.js~
dist/Coachmark/index.jsModified+3−1
Index: package/dist/Coachmark/index.js
===================================================================
--- package/dist/Coachmark/index.js
+++ package/dist/Coachmark/index.js
@@ -10,9 +10,10 @@
delay = 0,
renderPopover,
popoverProps,
skipFocusTrap = true,
- onRequestClose
+ onRequestClose,
+ ...rest
}) => {
const activeElRef = useRef(null);
const skipFocusTrapProps = skipFocusTrap ? {
skipFocusTrap: true,
@@ -30,8 +31,9 @@
children: renderPopover()
});
return /*#__PURE__*/_jsxs(_Fragment, {
children: [/*#__PURE__*/_jsx("div", {
+ ...rest,
className: activeElClassName,
ref: activeElRef,
children: children
}), shouldShow && /*#__PURE__*/_jsx(DelayedRenderWrapper, {