Skip to content

Commit

Permalink
feat: IconButton - change alt prop type
Browse files Browse the repository at this point in the history
  • Loading branch information
lokba committed Oct 6, 2022
1 parent af40995 commit caab7a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/@common/IconButton/IconButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import styles from "./IconButton.module.css";

export type IconButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
src: string;
alt?: string;
alt: string;
};

const IconButton = ({ className, src, alt, ...props }: IconButtonProps) => {
Expand Down

0 comments on commit caab7a1

Please sign in to comment.