mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 16:23:06 +10:00
qoc
This commit is contained in:
@ -22,8 +22,6 @@ export default function Field(props: FieldPropsType) {
|
|||||||
props.field.position || { x: 0, y: -842 }
|
props.field.position || { x: 0, y: -842 }
|
||||||
);
|
);
|
||||||
const nodeRef = React.createRef<HTMLDivElement>();
|
const nodeRef = React.createRef<HTMLDivElement>();
|
||||||
console.log(props.field);
|
|
||||||
|
|
||||||
const onControlledDrag = (e: any, position: any) => {
|
const onControlledDrag = (e: any, position: any) => {
|
||||||
const { x, y } = position;
|
const { x, y } = position;
|
||||||
setPosition({ x, y });
|
setPosition({ x, y });
|
||||||
|
|||||||
Reference in New Issue
Block a user