import { Button, ButtonProps } from 'index'
import React from 'react'
interface Props
  extends React.ButtonHTMLAttributes<HTMLButtonElement>,
    ButtonProps {
  label?: string
}

export default ({ label, ...props }: Props) => (
  <Button {...props}>{label}</Button>
)
