fix(button): pass the property type instead of hardcoding button

This commit is contained in:
Brandy Carney
2018-03-01 17:54:46 -05:00
parent 43a8c4c7a7
commit 10e481a321

View File

@ -132,7 +132,7 @@ export class Button {
};
const attrs = (TagType === 'button')
? {type: 'button'}
? { type: this.type }
: {};
return (