Interface

FullscreenConfig

FullscreenConfig

This lets you enable and customize fullscreenability of a fullscreenable component (QueuesStatsView). FullscreenConfig is found on the fullscreen static property of the component:

Flex.QueuesStatsView.fullscreen = {
  enabled: true
}

Properties:
Name Type Attributes Default Description
enabled boolean <optional>
false adds a button to toggle fullscreen for the component
renderButton function <optional>
null

render prop to add a custom button, e.g.:

fullscreen.renderButton = ({
  isFullscreen,
  toggleFullscreen
}) =>
  <MyCustomButton
    isVisible={!isFullscreen}
    onClick={toggleFullscreen}
  />
wrapperStyles React.CSSProperties <optional>
{} custom styles for the div wrapping the fullscreenable view