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,4 +1,3 @@
|
||||
import classNames from 'classnames';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
export default function DataInputComponent(props) {
|
||||
@@ -10,9 +9,8 @@ export default function DataInputComponent(props) {
|
||||
className,
|
||||
...rest
|
||||
} = props;
|
||||
const cn = classNames(className, 'flex-col flex-fill');
|
||||
return (
|
||||
<div {...rest} className={cn}>
|
||||
<div {...rest} className={className} style={{ height: '100%', width: '100%' }}>
|
||||
{html ? (
|
||||
<div
|
||||
className="scratchpad__data-input"
|
||||
|
||||
Reference in new issue
Block a user