import Button , { ButtonAttributes , ButtonProps } from "../Button" ; export default class SubmitButton extends Button { constructor ( props ) { super ( props ) ; } protected getAttributes ( ) { return Object . assign ( super . getAttributes ( ) , { "type" : "submit" } ) ; } }