import React, {
	Component
} from 'react';
import {WeaSearchGroup} from 'ecCom';

export default class Info extends Component {
	render() {
		const {
            groupSetting
        } = this.props;
		return (
            <WeaSearchGroup ecId={`${this && this.props && this.props.ecId || ''}_WeaSearchGroup@2e3y4t`} title={groupSetting.groupName} showGroup={groupSetting.defaultShow}>
			{
				groupSetting.item && groupSetting.item.map(msg => {
					return (
						<div className='info'>
							<div className='info-index'>
								<div>{msg.index}</div>
							</div>
							<div className='info-msg'>{msg.msg}</div>
						</div>
					)
				})
			}
            </WeaSearchGroup>
		)
	}
}