()
| 66 | }, [handleDrag, handleDragEnd]); |
| 67 | |
| 68 | const style = () => { |
| 69 | let formatted = dimension + "px"; |
| 70 | |
| 71 | if (isHorizontal) { |
| 72 | return { |
| 73 | width: formatted, |
| 74 | }; |
| 75 | } else { |
| 76 | return { |
| 77 | height: formatted, |
| 78 | }; |
| 79 | } |
| 80 | }; |
| 81 | |
| 82 | const classes = () => { |
| 83 | if (isHorizontal) { |