mirror of
https://github.com/mgerb/ps-launcher
synced 2026-01-11 02:52:49 +00:00
lots of progress - basic functionality work - bundling working
This commit is contained in:
@@ -42,3 +42,8 @@
|
||||
width: 10px;
|
||||
border: 2px solid;
|
||||
}
|
||||
|
||||
.header__version {
|
||||
color: $blue--lighter;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
@@ -8,6 +8,8 @@ interface Props {
|
||||
AppState?: AppState;
|
||||
}
|
||||
|
||||
declare const VERSION: any;
|
||||
|
||||
@inject('AppState')
|
||||
@observer
|
||||
export class Header extends React.Component<Props, any> {
|
||||
@@ -35,6 +37,7 @@ export class Header extends React.Component<Props, any> {
|
||||
public render(): any {
|
||||
return (
|
||||
<div className="header">
|
||||
<div className="header__version">PS Launcher <span style={{ fontSize: '10px' }}>v{VERSION}</span></div>
|
||||
<div className="header__draggable-region"></div>
|
||||
<div className="header-icon header-icon--minimize" onClick={this.minimize.bind(this)}/>
|
||||
<div className="header-icon header-icon--maximize" onClick={this.maximize.bind(this)}/>
|
||||
|
||||
Reference in New Issue
Block a user