import type { FormikProps } from 'formik'; import React from 'react'; import type { Application, IWizardPageComponent } from '@spinnaker/core'; import { ServerGroupAdvancedSettingsInner } from './ServerGroupAdvancedSettingsInner'; import type { IAmazonServerGroupCommand } from '../../../serverGroupConfiguration.service'; export interface IServerGroupAdvancedSettingsProps { app: Application; formik: FormikProps; } export class ServerGroupAdvancedSettings extends React.Component implements IWizardPageComponent { private ref: any = React.createRef(); public validate(values: IAmazonServerGroupCommand) { if (this.ref && this.ref.current) { return this.ref.current.validate(values); } return {}; } public render() { const { app, formik } = this.props; return ; } }