import { range } from 'lodash'; import PropTypes from 'prop-types'; import { PureComponent } from 'react'; import SitePlaceholder from 'calypso/blocks/site/placeholder'; import Main from 'calypso/components/main'; export default class DevdocsAsyncLoadPlaceholder extends PureComponent { static propTypes = { count: PropTypes.number.isRequired, }; render() { return (
{ range( this.props.count ).map( ( element, index ) => (
) ) }
); } }