import React , { lazy , Suspense } from 'react' ; export const getLazyOsqueryAction = ( services ) => ( props ) => { const OsqueryAction = lazy ( ( ) => import ( './osquery_action' ) ) ; return ( < Suspense fallback = { null } > < OsqueryAction services = { services } { ... props } /> < /Suspense>); } ;