import React, { Component } from 'react';
import { View } from 'react-native';
import { Total } from './Total';
export class Totals extends Component {
    render() {
        const { style, totals } = this.props;
        return (<View style={style}>
        {totals.map((total, index) => {
            return (<Total key={typeof total.keyName === 'string' ? total.keyName : index} {...total}/>);
        })}
      </View>);
    }
}
//# sourceMappingURL=Totals.js.map