import * as React from 'react' ; import { Blackout } from "../blackout/Blackout" ; export class BlackoutBox extends React . Component < IProps , IState > { constructor ( props , context ) { super ( props , context ) ; this . state = { } ; } public componentWillMount ( ) { Blackout . enable ( ) ; } public componentWillUnmount ( ) { Blackout . disable ( ) ; } public render ( ) { return this . props . children ; } } interface IProps { } interface IState { }