Skip to content

Commit

Permalink
remove unneeded button changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fpbrault committed Dec 6, 2024
1 parent 0a35287 commit d6616e8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/atomic/src/components/common/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
export interface ButtonProps {
style: ButtonStyle;
onClick?(event?: MouseEvent): void;
onKeyDown?(event?: KeyboardEvent): void;
class?: string;
text?: string;
part?: string;
Expand Down Expand Up @@ -65,7 +64,6 @@ export const Button: FunctionalComponent<ButtonProps> = (props, children) => {
return (
<button
{...attributes}
onKeyDown={(e) => props.onKeyDown?.(e)}
onMouseDown={(e) => createRipple(e, {color: rippleColor})}
>
{props.text ? <span class="truncate">{props.text}</span> : null}
Expand Down

0 comments on commit d6616e8

Please sign in to comment.