import React, { Component } from 'react'
import './index.scss'

export default class Test extends Component {
  render () {
    return (
      <header className="info-header">
        {this.props.title}
        {this.props.tip && (
          <span className="hd-tip">{this.props.tip}</span>
        )}
      </header>
    )
  }
}
