Get a glyph by role from a tree theme.
At the key flipped you will find a version that takes the glyph role as first and only argument of its first argument list, and the theme in the second argument list.
flipped
Glyph role to get.
Theme to query.
import {Draw} from 'effect-tree'const glyph = Draw.getGlyph('elbow', Draw.getTheme('thin'))expect(glyph).toBe('└') Copy
import {Draw} from 'effect-tree'const glyph = Draw.getGlyph('elbow', Draw.getTheme('thin'))expect(glyph).toBe('└')
Get a glyph by role from a tree theme.
At the key
flippedyou will find a version that takes the glyph role as first and only argument of its first argument list, and the theme in the second argument list.Param: role
Glyph role to get.
Param: theme
Theme to query.
Example