@onehat/ui 0.3.222 → 0.3.223
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/package.json
CHANGED
|
@@ -315,9 +315,13 @@ export const Tag = withAdditionalProps(
|
|
|
315
315
|
|
|
316
316
|
function withAdditionalEditorProps(WrappedComponent) {
|
|
317
317
|
return (props) => {
|
|
318
|
+
const {
|
|
319
|
+
_combo = {},
|
|
320
|
+
} = props;
|
|
321
|
+
_combo.isEditor = true;
|
|
318
322
|
return <WrappedComponent
|
|
319
|
-
_combo={{ isEditor: true }}
|
|
320
323
|
{...props}
|
|
324
|
+
_combo={_combo}
|
|
321
325
|
/>;
|
|
322
326
|
};
|
|
323
327
|
}
|