import { Box, Text } from '@hermes/ink' import { useState } from 'react' import type { Theme } from '../theme.js' import { TextInput } from './textInput.js' export function MaskedPrompt({ cols = 80, icon, label, onSubmit, sub, t }: MaskedPromptProps) { const [value, setValue] = useState('') return ( {icon} {label} {sub && {sub}} {'> '} ) } interface MaskedPromptProps { cols?: number icon: string label: string onSubmit: (v: string) => void sub?: string t: Theme }