Adding radion merge conflict
This commit is contained in:
parent
eb7836f033
commit
ddc4768612
|
|
@ -571,11 +571,32 @@ const DocumentContainer: React.FC<DocumentContainerProps> = ({ isSend }) => {
|
|||
})()
|
||||
}
|
||||
|
||||
const handleAddRadioClick = (key:string) => {
|
||||
console.log("Handle Radio Clicled", key)
|
||||
console.log(droppedItems, "line 525")
|
||||
// const handleAddRadioClick = (key:string) => {
|
||||
// console.log("Handle Radio Clicled", key)
|
||||
// console.log(droppedItems, "line 525")
|
||||
// }
|
||||
|
||||
|
||||
const handleAddGroupItemClicked = (key: string, item) => {
|
||||
|
||||
|
||||
const groupId = item.group;
|
||||
|
||||
item = { ...item, dimensions: { ...item.dimensions, top: item.dimensions.top + item.dimensions.height + 20 } }
|
||||
|
||||
// dimensions: { ...item.dimensions, left: newLeft, top: newTop }
|
||||
|
||||
setTimeout(() => {
|
||||
handleIGroupBorderPosition(item.group)
|
||||
}, 0)
|
||||
|
||||
setDroppedItems({
|
||||
...droppedItems,
|
||||
[key]: [...droppedItems[key], { ...item, isGroupExist: true }],
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// const handleAddRadio = (e: React.MouseEvent<HTMLElement>, key: string, index: number) => {
|
||||
// // const dataToSet: DroppedItemsObj = {
|
||||
// // ...droppedItems,
|
||||
|
|
|
|||
Loading…
Reference in New Issue