import React from 'react'; import { Box, Stack, Heading } from '@chakra-ui/react'; import { GeneralInfo } from '../types/cv'; import { UserDataImport } from './UserDataImport'; // Use our Patternfly component instead import PatternflyTextInput from './PatternflyTextInput'; // @ts-ignore import RedHatButton from './RedHatButton'; // Red Hat brand colors const colors = { red: "#ee0000", redHover: "#cc0000", redActive: "#a30000", blue: "#0066cc", blueHover: "#004080", blueActive: "#002952", gray: { light: "#f5f5f5", medium: "#d2d2d2", dark: "#4c4c4c" } }; interface GeneralInfoFormProps { generalInfo: GeneralInfo; onChange: (generalInfo: Partial) => void; onImportUserData: (kerberosId: string) => Promise<{ success: boolean; error?: string }>; isLoadingUserData: boolean; } export const GeneralInfoForm: React.FC = ({ generalInfo, onChange, onImportUserData, isLoadingUserData }) => { const handleChange = (e: React.ChangeEvent) => { onChange({ [e.target.name]: e.target.value }); }; return ( General Information {/* Rover API Import Section */} ); };