import React from 'react'

import './Heading.css'

export const Heading = (props) => {
  const Tag = `h${props.size}`
  return <Tag className="Heading">{props.children}</Tag>
}

Heading.defaultProps = {
  size: 1
}