import React from 'react' ; import { withSuspense } from './utility' ; /**
 * The Lazily-loaded `ExitFullScreenButton` component.  Consumers should use `React.Suspennse` or the
 * `withSuspense` HOC to load this component.
 */ export const LazyExitFullScreenButton = React . lazy ( ( ) => import ( './exit_full_screen_button' ) ) ; /**
 * A `ExitFullScreenButton` component that is wrapped by the `withSuspense` HOC.  This component can
 * be used directly by consumers and will load the `LazyExitFullScreenButton` component lazily with
 * a predefined fallback and error boundary.
 */ export const ExitFullScreenButton = withSuspense ( LazyExitFullScreenButton ) ;