Build a part from a single line of text.
import {Draw} from 'effect-tree'const part = Draw.text('hello')expect(Draw.drawPart(part)).toEqual(['hello']) Copy
import {Draw} from 'effect-tree'const part = Draw.text('hello')expect(Draw.drawPart(part)).toEqual(['hello'])
Build a part from a single line of text.