Combine two text parts horizontally placing the first to the right of the second.
import {Draw} from 'effect-tree'const left = Draw.text('foo-')const right = Draw.text('bar')expect(Draw.prefixText(left)(right)).toEqual(Draw.text('foo-bar')) Copy
import {Draw} from 'effect-tree'const left = Draw.text('foo-')const right = Draw.text('bar')expect(Draw.prefixText(left)(right)).toEqual(Draw.text('foo-bar'))
Combine two text parts horizontally placing the first to the right of the second.