-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshare-link-mode.js
More file actions
28 lines (24 loc) · 796 Bytes
/
share-link-mode.js
File metadata and controls
28 lines (24 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import React from 'react';
import ReactDOM from 'react-dom';
class ShareLinkMode extends React.Component {
constructor(props) {
super(props);
this.state = { };
this._onTextChange = this._onTextChange.bind(this);
}
_onTextChange(e) {
this.setState({ text: e.target.value })
}
render() {
return (
<div className="text-center">
<h1 className="header-main">2. Share the link below with your proofreaders</h1>
<p className="block-s share-link netto" onChange={this._onTextChange}>
https://hindenes.co/proofreader/uuid
</p>
<button className="single-action-btn edit-action-btn btn-center-block" onClick={this.props.onClick}>Start proofreading and editing</button>
</div>
);
}
}
export default ShareLinkMode;