From 01bf7728dbc2932535345d85f58330518328234f Mon Sep 17 00:00:00 2001 From: Fabio Aiello Date: Wed, 25 Oct 2023 11:31:51 -0700 Subject: [PATCH] feat: final button component with displayName --- src/components/Button/Button.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Button/Button.tsx b/src/components/Button/Button.tsx index e35a39113..21547f5b3 100644 --- a/src/components/Button/Button.tsx +++ b/src/components/Button/Button.tsx @@ -5,7 +5,7 @@ export interface ButtonProps extends RsButtonProps { 'aria-labelledby'?: string; } -const GearsButton = ({ +const Button = ({ disabled = false, children, 'aria-label': ariaLabel, @@ -29,5 +29,5 @@ const GearsButton = ({ ); }; -// GearsButton.displayName = 'GearsNameButton'; -export default GearsButton; +Button.displayName = 'GearsWrapperButton'; +export default Button;