Skip to content

Commit

Permalink
feat: allow adding classnames to icon component
Browse files Browse the repository at this point in the history
  • Loading branch information
abelflopes committed Nov 27, 2023
1 parent 10cf800 commit c74a203
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/icon/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ export interface IconProps extends Omit<IconType, "size"> {
skin?: "default" | "inverted";
/** Specifies the name of the icon to be rendered */
name: keyof typeof icons;
/** Additional CSS class */
className?: SVGAttributes<SVGElement>["className"];
}

/**
Expand Down

0 comments on commit c74a203

Please sign in to comment.