{
+ if (this.state.disabled) {
+ this.setState({
+ disabled: true,
+ });
+ }
+ }}
+ onMouseOut={() => {
+ this.setState({
+ disabled: false,
+ });
+ }}
+ // fix eslintjsx-a11y/mouse-events-have-key-events
+ // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/mouse-events-have-key-events.md
+ onFocus={() => {}}
+ onBlur={() => {}}
+ // end
+ >
+ Draggable Modal
+
+ }
+ visible={this.state.visible}
+ onOk={this.handleOk}
+ onCancel={this.handleCancel}
+ modalRender={modal => {modal}}
+ >
+
+ Just don't learn physics at school and your life will be full of magic and
+ miracles.
+
+
+ Day before yesterday I saw a rabbit, and yesterday a deer, and today, you.
+
+ >
+ );
+ }
+}
+
+ReactDOM.render(