import React from 'react'; import { Dispatch } from 'redux'; import { HelpIcon } from '@veupathdb/wdk-client/lib/Components'; import { wrappable } from '@veupathdb/wdk-client/lib/Utils/ComponentUtils'; import { Parameter, ParameterValues } from '@veupathdb/wdk-client/lib/Utils/WdkModel'; import { makeQuestionWizardClassName as makeClassName } from '../util/classNames'; import { WizardState, ParameterEventHandlers } from '../util/WizardTypes'; import Param from './Param'; type Props = { //group: ActiveGroup was needed by previous param searchName: string, recordClassName: string, parameters: Parameter[], paramValues: ParameterValues, paramUIState: WizardState['paramUIState'], eventHandlers: ParameterEventHandlers, dispatch: Dispatch } function Parameters(props: Props) { const {paramValues, paramUIState, eventHandlers, searchName, recordClassName, dispatch} = props; const showLabel = props.parameters.length > 1; return (