gabrielbull/react-desktop

Failed prop type: Invalid prop `title` of type `object` supplied to `TitleBar`, expected `string`.

IDrinkMoreWater opened this issue · 1 comments

i need to implement :

 <TitleBar
     title={<p className="barHead"> <img src={logo} alt="overallLogo"/>HYD Application</p>}
     controls
     isMaximized={this.state.isMaximized}
     theme='dark'
     background='#1b9df8'
     onCloseClick={this.close}
     onMinimizeClick={this.minimize}
     onMaximizeClick={this.toggleMaximize}
     onRestoreDownClick={this.toggleMaximize}/>

but the 'title' props must be string.

Please submit a PR and we will accept it.