forked from nsjcy/frontEnd/nsjcy

liyj
2020-02-03 7a4d973140ee0168f509098b52745c8a7947ca74
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
 * 徐祥健<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} />&nbsp; {title}</div>
      <div className='line-view-children' style={{lineHeight : lineHeight}}>{children}</div>
    </div>
  );
 
}