- {this.renderCdrom()}
-
- {this.renderFloppy()}
-
- {this.renderSmbShare()}
-
- {this.renderState()}
+
+
+
windows95 Properties
+
+
+
-
+
+
+
+
+ {tab === "floppy" && this.renderFloppy()}
+ {tab === "network" && this.renderSmbShare()}
+ {tab === "state" && this.renderState()}
+
+
+
+
+
+
+
+
);
}
- public renderCdrom() {
- // CD is currently not working, so.. let's return nothing.
- return null;
-
- const { cdrom } = this.props;
-
+ private renderTab(id: Tab, label: string) {
return (
-
+
this.setState({ tab: id })}
+ >
+ {label}
+
);
}
- public renderSmbShare() {
- const { smbSharePath } = this.props;
-
- return (
-
- );
- }
-
- public renderFloppy() {
+ private renderFloppy() {
const { floppy } = this.props;
return (
- );
- }
-
- public renderState() {
- const { isStateReset } = this.state;
- const { bootFromScratch } = this.props;
-
- return (
-