import { Parameter } from '@/services/data/tuples/factor-calculator-types' ; import { Topic } from '@/services/data/tuples/topic-types' ; import React from 'react' ; import { ParamFrom , PropName } from '../dsl-widgets' ; import { ComputeParameterLine } from './compute-parameter' ; import { ConstantParameterLine } from './constant-parameter' ; import { TopicFactorParameterLine } from './topic-factor-parameter' ; export const ParameterLines = ( props ) => { const { parameter , topicsMap , inList = false , indent } = props ; return < > { inList ? null : < > < PropName indent = { indent } > parameter - type < /PropName> < ParamFrom > { parameter . kind } < /ParamFrom> < />} < ComputeParameterLine parameter = { parameter } topicsMap = { topicsMap } inList = { inList } indent = { indent } / > < TopicFactorParameterLine parameter = { parameter } topicsMap = { topicsMap } inList = { inList } indent = { indent } / > < ConstantParameterLine parameter = { parameter } inList = { inList } indent = { indent } / > < />; } ;