import { jsx as _jsx } from "react/jsx-runtime";
import { Text } from 'ink';
import SelectInput from 'ink-select-input';
import { useTheme } from '../../hooks/useTheme.js';
export function StyledSelectInput(props) {
    const { colors } = useTheme();
    return (_jsx(SelectInput, { ...props, indicatorComponent: ({ isSelected }) => (_jsx(Text, { color: isSelected ? colors.primary : colors.text, children: isSelected ? '> ' : '  ' })), itemComponent: ({ isSelected, label }) => (_jsx(Text, { color: isSelected ? colors.primary : colors.text, children: label })) }));
}
//# sourceMappingURL=styled-select-input.js.map