import React from 'react'; import { randomIntFromInterval, generateText } from '../utils'; interface IPlaceholderStatusContent { maxLength: number, minLength: number, } /** Fake status content while data is loading. */ const PlaceholderStatusContent: React.FC = ({ minLength, maxLength }) => { const length = randomIntFromInterval(maxLength, minLength); return (

{generateText(length)}

); }; export default PlaceholderStatusContent;