import { useRef, useState } from 'react'; import { Form, FormGroup, TextInput, Checkbox, Popover, ActionGroup, Button, Radio, HelperText, HelperTextItem, FormHelperText, FormGroupLabelHelp } from '@patternfly/react-core'; export const FormBasic: React.FunctionComponent = () => { const [name, setName] = useState(''); const [email, setEmail] = useState(''); const [phone, setPhone] = useState(''); const labelHelpRef = useRef(null); const handleNameChange = (_event, name: string) => { setName(name); }; const handleEmailChange = (_event, email: string) => { setEmail(email); }; const handlePhoneChange = (_event, phone: string) => { setPhone(phone); }; return (
); };