effect-tree - v1.0.36
    Preparing search index...

    Function text

    • Build a part from a single line of text.

      Parameters

      • show: string

      Returns Text

      import {Draw} from 'effect-tree'

      const part = Draw.text('hello')

      expect(Draw.drawPart(part)).toEqual(['hello'])