"use strict";

var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.toArray = toArray;
var _react = _interopRequireDefault(require("react"));
function toArray(children) {
  var childrens = [];
  _react.default.Children.forEach(children, function each(c) {
    childrens.push(c);
  });
  return childrens;
}