MCPcopy Create free account
hub / github.com/chakra-ui/panda / createBox

Function createBox

packages/node/src/cli-box.ts:3–10  ·  view source on GitHub ↗
(options: { content: string; title?: string })

Source from the content-addressed store, hash-verified

1import boxen from 'boxen'
2
3export const createBox = (options: { content: string; title?: string }) =>
4 boxen(options.content, {
5 padding: { left: 3, right: 3, top: 1, bottom: 1 },
6 borderColor: 'magenta',
7 borderStyle: 'round',
8 title: options.title,
9 titleAlignment: 'center',
10 })

Callers 1

PandaContextClass · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected