ywana-core8 0.0.723 → 0.0.724
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.modern.js
CHANGED
@@ -10385,8 +10385,9 @@ var CollectionEditor = function CollectionEditor(props) {
|
|
10385
10385
|
var context = useContext(CollectionContext);
|
10386
10386
|
var selected = context.selected;
|
10387
10387
|
var customEditor = props.customEditor;
|
10388
|
+
var style = selected ? 'selected' : '';
|
10388
10389
|
return /*#__PURE__*/React.createElement("div", {
|
10389
|
-
className: "collection-editor " +
|
10390
|
+
className: "collection-editor " + style
|
10390
10391
|
}, customEditor);
|
10391
10392
|
};
|
10392
10393
|
|