Fix: Change file name to start with small letter instead of captial l… (#356)
This commit is contained in:
committed by
GitHub
parent
bec3947058
commit
d69a17ac49
13
codex-cli/src/components/select-input/item.tsx
Normal file
13
codex-cli/src/components/select-input/item.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Text } from "ink";
|
||||
import * as React from "react";
|
||||
|
||||
export type Props = {
|
||||
readonly isSelected?: boolean;
|
||||
readonly label: string;
|
||||
};
|
||||
|
||||
function Item({ isSelected = false, label }: Props): JSX.Element {
|
||||
return <Text color={isSelected ? "blue" : undefined}>{label}</Text>;
|
||||
}
|
||||
|
||||
export default Item;
|
||||
Reference in New Issue
Block a user