import React from 'react'
import './HeadContentLayout.less'
const HeadContentLayout = (props) => {
	const { height, children, className ,heightDiff=24 } = props
	return <div className={`HeadContentLayout ${className}`}>
		<header style={{ height: `${height}px` ,width:'100%'}}>
			<div className='header-content' style={{ minHeight: `${height-heightDiff}px` }}>
				{children}
			</div>
		</header>
	</div>
}
export default HeadContentLayout