/** @format */ /** * External dependencies */ import { Component } from '@wordpress/element'; import { range } from 'lodash'; import PropTypes from 'prop-types'; /** * Internal dependencies */ import Table from './table'; class TablePlaceholder extends Component { render() { const { caption, headers, numberOfRows } = this.props; const rows = range( numberOfRows ).map( () => headers.map( () => ( { display: } ) ) ); return (