import React from 'react'; import { MenuToggle, TextInputGroup, TextInputGroupMain, TextInputGroupUtilities, Button } from '@patternfly/react-core'; import TimesIcon from '@patternfly/react-icons/dist/esm/icons/times-icon'; export const MenuToggleTypeahead: React.FunctionComponent = () => { const [inputValue, setInputValue] = React.useState(''); const onTextInputChange = (_event: React.FormEvent, value: string) => { setInputValue(value); }; return ( {!!inputValue && (
); };