windows95/src/renderer/card-start.tsx
2019-08-23 22:58:56 +02:00

26 lines
607 B
TypeScript

import * as React from "react";
export interface CardStartProps {
startEmulator: () => void;
}
export class CardStart extends React.Component<CardStartProps, {}> {
public render() {
return (
<section id="section-start" className="visible">
<div
className="btn btn-start"
id="win95"
onClick={this.props.startEmulator}
>
<img src="../../static/run.png" />
<span>Start Windows 95</span>
<br />
<br />
<small>Hit ESC to lock or unlock your mouse</small>
</div>
</section>
);
}
}