interface MaterialsChildProps {
    _onMaterialChange: (
        child: IModelMaterialsChild,
        index: number,
        val: string,
    ) => void;
    _onUnitChange: (index: number, unit: IUnit) => void;
    child: IModelMaterialsChild;
    dimension: undefined | number;
    index: number;
    material?: {
        label: string;
        symbol: string;
        unit?: IUnit;
        value: string | number;
    };
    simulation: Simulation;
}

Properties

_onMaterialChange: (
    child: IModelMaterialsChild,
    index: number,
    val: string,
) => void
_onUnitChange: (index: number, unit: IUnit) => void
dimension: undefined | number
index: number
material?: {
    label: string;
    symbol: string;
    unit?: IUnit;
    value: string | number;
}
simulation: Simulation