forked from nsjcy/frontEnd/nsjcy

Mr Ke
2020-05-27 58ae2ba21efcd85df331cf996a94038a77302b51
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>
  );
 
}