dibk-design 2.1.2 → 2.1.3

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.
@@ -32,7 +32,7 @@ var CheckBoxList = function CheckBoxList(props) {
32
32
  className: _CheckBoxListModule.default.checkBoxList
33
33
  }, !!((_props$legend = props.legend) !== null && _props$legend !== void 0 && _props$legend.length) ? _react.default.createElement("legend", null, props.legend, props.required && _react.default.createElement("span", {
34
34
  className: _CheckBoxListModule.default.requiredSymbol
35
- }, "*")) : null, renderChildElements(props.children));
35
+ }, "*")) : null, renderChildElements(_react.default.Children.toArray(props.children)));
36
36
  };
37
37
  CheckBoxList.propTypes = {
38
38
  legend: _propTypes.default.string,
@@ -32,7 +32,7 @@ var RadioButtonList = function RadioButtonList(props) {
32
32
  className: _RadioButtonListModule.default.radioButtonList
33
33
  }, !!((_props$legend = props.legend) !== null && _props$legend !== void 0 && _props$legend.length) ? _react.default.createElement("legend", null, props.legend, props.required && _react.default.createElement("span", {
34
34
  className: _RadioButtonListModule.default.requiredSymbol
35
- }, "*")) : null, renderChildElements(props.children));
35
+ }, "*")) : null, renderChildElements(_react.default.Children.toArray(props.children)));
36
36
  };
37
37
  RadioButtonList.propTypes = {
38
38
  legend: _propTypes.default.string,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dibk-design",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",