@pdg/react-form 1.0.3 → 1.0.4
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.esm.js +3 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16448,7 +16448,9 @@ Search.defaultProps = SearchDefaultProps;var SearchGroupDefaultProps = {
|
|
|
16448
16448
|
}, [align]))[0];
|
|
16449
16449
|
// Render ----------------------------------------------------------------------------------------------------------
|
|
16450
16450
|
return (React__default["default"].createElement(material.Grid, { item: true, className: classNames$1(className, 'SearchGroup'), style: { flex: max ? 1 : undefined, display: hidden ? 'none' : undefined } },
|
|
16451
|
-
React__default["default"].createElement(material.Grid, { container: true, wrap: 'wrap', spacing: spacing, justifyContent: justifyContent, alignItems: 'start', style: style, sx: sx }, React__default["default"].Children.map(children, function (child, idx) {
|
|
16451
|
+
React__default["default"].createElement(material.Grid, { container: true, wrap: 'wrap', spacing: spacing, justifyContent: justifyContent, alignItems: 'start', style: style, sx: sx }, React__default["default"].Children.map(children, function (child, idx) {
|
|
16452
|
+
return React__default["default"].isValidElement(child) ? (React__default["default"].createElement(material.Grid, { key: idx, item: true }, child)) : undefined;
|
|
16453
|
+
}))));
|
|
16452
16454
|
};
|
|
16453
16455
|
SearchGroup.defaultProps = SearchGroupDefaultProps;var SearchButtonDefaultProps = {};var SearchButton = function (_a) {
|
|
16454
16456
|
// State -----------------------------------------------------------------------------------------------------------
|