From 10e481a3216ad13b7769e74bceb8b899b50c038c Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Thu, 1 Mar 2018 17:54:46 -0500 Subject: [PATCH] fix(button): pass the property type instead of hardcoding button --- packages/core/src/components/button/button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/components/button/button.tsx b/packages/core/src/components/button/button.tsx index 88eff9e8bf..4a2ec2e0b4 100644 --- a/packages/core/src/components/button/button.tsx +++ b/packages/core/src/components/button/button.tsx @@ -132,7 +132,7 @@ export class Button { }; const attrs = (TagType === 'button') - ? {type: 'button'} + ? { type: this.type } : {}; return (