gensx
Version:
`GenSX command line tools.
6 lines • 366 B
JavaScript
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
import { Box, Text } from "ink";
export function ErrorMessage({ message, title = "Error" }) {
return (_jsx(Box, { flexDirection: "column", children: _jsx(Box, { children: _jsxs(Text, { wrap: "end", color: "red", children: [title, ": ", message] }) }) }));
}
//# sourceMappingURL=ErrorMessage.js.map