Const
The empty part takes zero width and zero height.
import {Draw} from 'effect-tree'const part = Draw.row.centre.middle([ Draw.text('hello-), Draw.empty, Draw.text('world),expect(Draw.drawPart(part)).toEqual(['hello-world']) Copy
import {Draw} from 'effect-tree'const part = Draw.row.centre.middle([ Draw.text('hello-), Draw.empty, Draw.text('world),expect(Draw.drawPart(part)).toEqual(['hello-world'])
The empty part takes zero width and zero height.