import * as React from 'react' ; import Preview from '../Preview' ; import Navigator from '../Navigator' ; import cn from '../../utils/cn' ; export interface Props { className ? : string ; style ? : Object ; } export default class BrowserPreview extends React . PureComponent < Props > { render ( ) { const { className = '' , style , ... props } = this . props ; return ( < div className = { `${ cn ( 'BrowserPreview' , 'container' ) } ${ className }` } style = { style } { ... props } > { } < Preview / > < /div>); } }