Elffuss BraidHub

kikocis/continue public

main · 389 BRawPermalink
1import { Box } from "ink";
2
3export const baseBoxStyles: React.ComponentProps<typeof Box> = {
4 flexDirection: "column",
5 paddingX: 2,
6 paddingY: 1,
7 borderStyle: "round",
8};
9
10export const defaultBoxStyles = (
11 borderColor: string,
12 overrides?: Partial<React.ComponentProps<typeof Box>>,
13): React.ComponentProps<typeof Box> => ({
14 ...baseBoxStyles,
15 borderColor,
16 ...overrides,
17});