Skip to content

Commit

Permalink
feat: final button component with displayName
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-aiello-appfolio committed Oct 25, 2023
1 parent 2aef496 commit 01bf772
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export interface ButtonProps extends RsButtonProps {
'aria-labelledby'?: string;
}

const GearsButton = ({
const Button = ({
disabled = false,
children,
'aria-label': ariaLabel,
Expand All @@ -29,5 +29,5 @@ const GearsButton = ({
);
};

// GearsButton.displayName = 'GearsNameButton';
export default GearsButton;
Button.displayName = 'GearsWrapperButton';
export default Button;

0 comments on commit 01bf772

Please sign in to comment.