A simple input for suggest some word with free allow add new word
const [result, setResult] = useState(['c', 'c#', 'java']);
<SuggestInput
suggestions={['c', 'c++', 'c#', 'javascript', 'java', 'php']}
value={result}
placeholder={'Please select your programming language'}
onChange={function (result: string[]): void {
setResult(result);
console.log(result);
}}
/>