Skip to content

Commit 0165234

Browse files
committed
chore: updated tsx file names to capital
1 parent 2a20b19 commit 0165234

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/ui/components/default-component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { ImportWarning } from './import/import-warning.js';
1919
import { InitBanner } from './init/InitBanner.js';
2020
import { PlanComponent } from './plan/plan.js';
2121
import { ProgressDisplay } from './progress/progress-display.js';
22-
import { MultiSelect } from './multi-select/multi-select.js';
22+
import { MultiSelect } from './multi-select/MultiSelect.js';
2323

2424
const spinnerEmitter = new EventEmitter();
2525

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { Box, Text } from 'ink';
22
import React from 'react';
33

4-
export function CheckBox(props: { isSelected: boolean }) {
4+
export function Checkbox(props: { isSelected: boolean }) {
55
const isSelected = props.isSelected ?? false;
66

77
return <Box marginRight={1}>
88
<Text color="green">{isSelected ? '◉' : '◯'}</Text>
99
</Box>
1010
}
1111

12-
export default CheckBox;
12+
export default Checkbox;
File renamed without changes.
File renamed without changes.

src/ui/components/multi-select/multi-select.tsx renamed to src/ui/components/multi-select/MultiSelect.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { Box, useInput, useStdin } from 'ink';
22
import React, { useLayoutEffect, useState } from 'react';
33

4-
import CheckBox from './checkbox.js';
5-
import Indicator from './indicator.js';
6-
import { Item } from './item.js';
4+
import Checkbox from './Checkbox.js';
5+
import Indicator from './Indicator.js';
6+
import { Item } from './Item.js';
77
import { arrRotate } from './utils.js';
88

99
interface Item {
@@ -130,7 +130,7 @@ export function MultiSelect(props: Props) {
130130
return (
131131
<Box key={key}>
132132
<Indicator isHighlighted={isHighlighted} />
133-
<CheckBox isSelected={isSelected(item.value)} />
133+
<Checkbox isSelected={isSelected(item.value)} />
134134
<Item {...item} isHighlighted={isHighlighted} />
135135
</Box>
136136
);

0 commit comments

Comments
 (0)