'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var React = require('react');
var styles = require('./styles.js');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var React__default = /*#__PURE__*/_interopDefaultLegacy(React);

function Skeleton(props) {
    const { count = 1 } = props;
    return (React__default['default'].createElement(React__default['default'].Fragment, null, Array.from({ length: count }).map((_, index) => (React__default['default'].createElement(styles.SkeletonBase, Object.assign({ key: index }, props))))));
}

exports.Skeleton = Skeleton;
