Skip to content

Commit

Permalink
Add icon button JSDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Germain committed Aug 21, 2023
1 parent 8f93100 commit a8dcdf6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/IconButton/IconButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ type IconButtonProps = JSX.IntrinsicElements["button"] & {
indicator?: "default" | "highlight";
};

/**
* Display an icon as a button. Can render an indicator
*/
export const IconButton = forwardRef<
HTMLButtonElement,
PropsWithChildren<IconButtonProps>
Expand Down

0 comments on commit a8dcdf6

Please sign in to comment.