(fix) do not transitively rely on deprecated lodash deps (#175)

Signed-off-by: Thibault Sottiaux <tibo@openai.com>
This commit is contained in:
Thibault Sottiaux
2025-04-16 20:52:35 -07:00
committed by GitHub
parent 057f113c6d
commit f3f9e41a15
7 changed files with 231 additions and 32 deletions

View 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;