UNPKG

buroventures-harald-code

Version:

Harald Code - AI-powered coding assistant CLI

9 lines 531 B
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { Box, Text } from 'ink'; import { Colors } from '../../colors.js'; export const UserShellMessage = ({ text }) => { // Remove leading '!' if present, as App.tsx adds it for the processor. const commandToDisplay = text.startsWith('!') ? text.substring(1) : text; return (_jsxs(Box, { children: [_jsx(Text, { color: Colors.AccentCyan, children: "$ " }), _jsx(Text, { children: commandToDisplay })] })); }; //# sourceMappingURL=UserShellMessage.js.map