mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: set input/output draggable
This commit is contained in:
6 files changed
+19
-49
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { Allotment } from 'allotment';
|
||||
import AnsiUp from 'ansi_up';
|
||||
import React from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
@@ -38,7 +39,7 @@ export default connect(mapStateToProps, mapDispatchToProps)(class ScratchpadPret
|
||||
</span>
|
||||
)}
|
||||
>
|
||||
<div className="flex-row flex-fill">
|
||||
<Allotment>
|
||||
<DataInput
|
||||
title={i18n('Input')}
|
||||
value={this.props.input}
|
||||
@@ -49,7 +50,7 @@ export default connect(mapStateToProps, mapDispatchToProps)(class ScratchpadPret
|
||||
value={AU.ansi_to_html(this.props.output)}
|
||||
html
|
||||
/>
|
||||
</div>
|
||||
</Allotment>
|
||||
</Panel>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user