import React from 'react'
import clsx from 'clsx'
import '@platformuiserver/platformui.assets/css/index.less'
import styles from './style.module.less'
export default function BaseHeader (props) {
  const {
    text, // 类型
    handleBtn
  } = props
  return (
    <div className={clsx(styles.BaseHeader, 'flex-center-between')}>
      <div className={clsx(styles.text)}>{text}</div>
      <div className={clsx(styles.handle)}>{handleBtn}</div>
    </div>
  )
}
