SiglePage.js 920 Bytes
import React,{PropTypes} from 'react';
import ReactDOM from 'react-dom';  
import cx from 'classnames';
import s from './header.scss'; 


class SiglePage extends React.Component {
    constructor(props) {
        super(props); 
    }
    static propTypes = {    
        title:PropTypes.string,
        close:PropTypes.func
    } 
    static defaultProps={  
        title:'员工基本信息',  
        close:()=>{

        }
    }  
    componentDidMount(){  
    }  
    componentWillReceiveProps(nextProps){   
    }
    componentDidUpdate(prevProps,prevState){  
    }
    componentWillUnmount() {  
        
    }  
    render(){      
        const {title}=this.props;
        return (
            <div className={cx(s.header)} >
                <div className={cx(s.title_3,s.center)}><span style={{color:'#00B281'}}>{title}</span>导入</div>
            </div>
        ) 
    }
}



export default SiglePage;