mirror of
https://github.com/moghtech/komodo.git
synced 2026-09-05 16:00:50 +00:00
19 lines
463 B
TypeScript
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;
|