From aa29b39a66bc77688c5cd705c7ec97145b1f4c9c Mon Sep 17 00:00:00 2001 From: illiteratewriter Date: Sat, 21 Aug 2021 16:35:23 +0530 Subject: [PATCH] fix button not receiving props --- src/PlaceholderButton.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/PlaceholderButton.js b/src/PlaceholderButton.js index e87a5110e..1081e226c 100644 --- a/src/PlaceholderButton.js +++ b/src/PlaceholderButton.js @@ -14,17 +14,13 @@ const propTypes = { } const defaultProps = { - color: 'secondary', + color: 'primary', tag: Button } const PlaceholderButton = (props) => { let { - size, - color, - outline, cssModule, - className, tag: Tag, ...attributes } = props; @@ -38,7 +34,7 @@ const PlaceholderButton = (props) => { ), cssModule); return ( - + ) }