@contentful/experiences-components-react 3.2.1-dev-20250819T1408-2dcca7e.0 → 3.2.1-dev-20250820T1011-7f01669.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -2142,12 +2142,12 @@ const stopEventPropagation = (event) => {
|
|
|
2142
2142
|
|
|
2143
2143
|
/* eslint-disable */
|
|
2144
2144
|
const ContentfulContainer = (props) => {
|
|
2145
|
-
const { className, editorMode, children, cfHyperlink } = props;
|
|
2145
|
+
const { className, editorMode, children, cfHyperlink, ...otherProps } = props;
|
|
2146
2146
|
if (cfHyperlink) {
|
|
2147
2147
|
return React.createElement(ContentfulContainerAsHyperlink, { ...props }, children);
|
|
2148
2148
|
}
|
|
2149
2149
|
if (!editorMode) {
|
|
2150
|
-
return (React.createElement(Flex, { "data-test-id": "contentful-container", className: combineClasses(className, 'contentful-container') }, children));
|
|
2150
|
+
return (React.createElement(Flex, { "data-test-id": "contentful-container", ...extractRenderProps(otherProps), className: combineClasses(className, 'contentful-container') }, children));
|
|
2151
2151
|
}
|
|
2152
2152
|
// Extract properties that are only available in editor mode
|
|
2153
2153
|
const { node } = props;
|