import React , { FC , Suspense } from 'react' ; import { SettingsProps } from '../specs' ; interface NoResultsProps { renderFn ? : SettingsProps [ 'noResults' ] ; } internal export const NoResults = ( { renderFn } ) => ( < Suspense fallback = { ( ) => null } > < div className = "echReactiveChart_noResults" > { renderFn ?? < p > No data to display < /p>}</div > < /Suspense>);