/**
|
* 徐祥健<xuxj@hugeinfo.com.cn>
|
* 2018年7月20日 10:17
|
*
|
*/
|
|
|
import React from 'react';
|
|
import user from '../../asset/icons/user.svg';
|
// import chunk from 'lodash/chunk';
|
// import tree from 'hife/tree';
|
|
import './style.scss';
|
|
export default function LineView({ title, style ,lineHeight,children }) {
|
return (
|
<div className="line-view-main" style={{minHeight :style}}>
|
<div className='line-view-title'><img src={user} /> {title}</div>
|
<div className='line-view-children' style={{lineHeight : lineHeight}}>{children}</div>
|
</div>
|
);
|
|
}
|