Files
komodo/cli/src/components/Setup.tsx
T
2022-03-17 13:09:49 -07:00

19 lines
463 B
TypeScript

import React from "react";
import { Box, Text } from "ink";
const Setup = (p: { periphery: boolean | undefined }) => {
return (
<Box flexDirection="column">
<Text>
setting up{" "}
<Text color={p.periphery ? "red" : "cyan"}>
{p.periphery ? "a peripheral client..." : "monitor core"}
</Text>{" "}
{!p.periphery && "using the specified configuration..."}
</Text>
</Box>
);
};
export default Setup;