import {
	inject,
	observer,
} from 'mobx-react'
import {
	WeaTextarea,
} from 'ecCom'

@inject('hrmSalaryItemsSet')
@observer
export default class TextArea extends React.Component {
	constructor(props) {
		super(props);
	}

	render() {
		const {
			hrmSalaryItemsSet
		} = this.props, {
			textArea
		} = hrmSalaryItemsSet, {
			pageShowItems
		} = textArea;

		return <WeaTextarea ecId={`${this && this.props && this.props.ecId || ''}_WeaTextarea@4sbw75`} value={pageShowItems.join('')} viewAttr={1}/>
	}
}