A column part that joins the given string list vertically.
At the key curried you will find a version that accepts the horizontal alignment as the only argument in its first argument list.
curried
At the key rest you will find a version that accepts the strings as a list of arguments.
rest
import {Draw} from 'effect-tree'const {drawPart, stackText} = Drawconst part = stackText.rest('A', 'B', 'C')expect(drawPart(part)).toEqual([ 'A', 'B', 'C',]) Copy
import {Draw} from 'effect-tree'const {drawPart, stackText} = Drawconst part = stackText.rest('A', 'B', 'C')expect(drawPart(part)).toEqual([ 'A', 'B', 'C',])
A column part that joins the given string list vertically.
At the key
curriedyou will find a version that accepts the horizontal alignment as the only argument in its first argument list.At the key
restyou will find a version that accepts the strings as a list of arguments.