Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.handleRecorderStarting
);
const RecorderStopButton = controlButton('Stop', IconNames.STOP, this.handleRecorderStopping);
const RecorderResetButton = controlButton(
'Reset',
IconNames.REFRESH,
this.handleRecorderResetting
);
// const RecorderDownloadButton = controlButton(
// 'Download',
// IconNames.DOWNLOAD,
// this.handleRecorderDownloading
// );
const RecorderSaveButton = (
{controlButton('Save', IconNames.FLOPPY_DISK)}
<ul>
<li>
<label>Title: </label>
<input value="{this.state.saveTitle}">
</li>
<li>
<label>Description: </label>
<input value="{this.state.saveDescription}" id="description"></li></ul>
render() {
const {
className,
saveFileName,
isSaveEnabled
} = this.props;
return (
ONI Save Editor
<button>Load</button>
<button disabled="{!isSaveEnabled}">Save</button>
<input> this._input = el}
style={{ display: "none" }}
className="pt-button pt-intent-primary"
type="file"
accept=".sav"
onChange={this._onLoadFile}
/>
);
}
/ {this.props.maxGrade}
{`Final XP:`}
{controlButton('Save', IconNames.FLOPPY_DISK, this.onClickSaveButton, saveButtonOpts)}
);
}
render() {
const {
loadSavefile
} = this.props;
return (
Load a .sav file
}
description="No save has been loaded."
>
<div>{saveDescription} <code>{savePath}</code></div>
<input> this._input = el}
style={{display: "none"}}
className="pt-button pt-intent-primary"
type="file"
accept=".sav"
onChange={this._onLoadFile}
/>
);
private renderHeader = () => {
const { config, code } = this.state;
const queryString = encodeUrl(code, config);
const clipboardText = `${window.location.origin}${queryString}`;
return (
TSLint Playground
<button>
);
};
</button>