import * as React from "react"; /** * @typedef QueuesStatsView.fullscreen * @memberof QueuesStatsView * @description *

* This property lets you enable and customize fullscreenability of QueuesStatsView. *

 * Flex.QueuesStatsView.fullscreen = {
 *   enabled: true
 * }
 * 
*
* @property {boolean} [enabled=false] adds a button to toggle fullscreen for the component * @property {Function} [renderButton=null] *

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

*
 * fullscreen.renderButton = ({
 *   isFullscreen,
 *   toggleFullscreen
 * }) =>
 *   <MyCustomButton
 *     isVisible={!isFullscreen}
 *     onClick={toggleFullscreen}
 *   />
 * 
* @property {React.CSSProperties} [wrapperStyles={}] custom styles for the div wrapping the fullscreenable view */ export interface FullscreenConfig { enabled: boolean; renderButton: ((props: FullscreenButtonProps) => React.ReactNode) | null; wrapperStyles: React.CSSProperties; } export interface FullscreenButtonProps { isFullscreen: boolean; toggleFullscreen: () => void; }