init claude-code

This commit is contained in:
2026-04-01 17:32:37 +02:00
commit 73b208c009
1902 changed files with 513237 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
import type { DOMElement } from './dom.js'
type Output = {
/**
* Element width.
*/
width: number
/**
* Element height.
*/
height: number
}
/**
* Measure the dimensions of a particular `<Box>` element.
*/
const measureElement = (node: DOMElement): Output => ({
width: node.yogaNode?.getComputedWidth() ?? 0,
height: node.yogaNode?.getComputedHeight() ?? 0,
})
export default measureElement