import { FC, useRef, useState } from 'react'; import ContainedButton from './ContainedButton'; import FlexBox from './FlexBox'; import GeneralInitForm, { GeneralInitFormForwardRefContent, } from './GeneralInitForm'; import NetworkInitForm, { NetworkInitFormForwardRefContent, } from './NetworkInitForm'; import { Panel, PanelHeader } from './Panels'; import { BodyText, HeaderText } from './Text'; const StrikerInitForm: FC = () => { const [requestBody, setRequestBody] = useState< Record | undefined >(); const generalInitFormRef = useRef({}); const networkInitFormRef = useRef({}); return ( { setRequestBody({ ...(generalInitFormRef.current.get?.call(null) ?? {}), ...(networkInitFormRef.current.get?.call(null) ?? {}), }); }} > Initialize {requestBody && (
            
          
)}
); }; export default StrikerInitForm;