This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class DummyDataTransfer { | |
data = {}; | |
dropEffect = 'move'; | |
effectAllowed = 'all'; | |
files = []; | |
items = []; | |
types = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Zig 21 hrs 43 mins ███████████████░░░░░░ 72.0% | |
TypeScript 6 hrs 6 mins ████▎░░░░░░░░░░░░░░░░ 20.3% | |
Java 2 hrs 1 min █▍░░░░░░░░░░░░░░░░░░░ 6.7% | |
Other 9 mins ░░░░░░░░░░░░░░░░░░░░░ 0.5% | |
JSON 4 mins ░░░░░░░░░░░░░░░░░░░░░ 0.2% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get total `width` of all children | |
const getAccumulatedChildrenWidth = (helper, parentId) => { | |
return helper(self.id).decendants().map(id => helper(id).get()) | |
.reduce((a, b) => a.data.props.width + b.data.props.width, 0); | |
} | |
const Grid = () => { | |
return ( | |
<div> | |
{children} |