Skip to content

Commit

Permalink
Set default value for className variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrohan authored Nov 8, 2024
1 parent ff1758b commit 5cde1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/octicons_react/src/createIconComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function createIconComponent(name, defaultClassName, getSVGData) {
'aria-label': ariaLabel,
'aria-labelledby': arialabelledby,
tabIndex,
className,
className = '',
fill = 'currentColor',
size = 16,
verticalAlign = 'text-bottom',
Expand Down

0 comments on commit 5cde1e4

Please sign in to comment.