From 5cde1e477e427d2046fdbcf27ef78ca64caca4de Mon Sep 17 00:00:00 2001 From: Jon Rohan Date: Fri, 8 Nov 2024 10:19:05 -0800 Subject: [PATCH] Set default value for className variable --- lib/octicons_react/src/createIconComponent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/octicons_react/src/createIconComponent.js b/lib/octicons_react/src/createIconComponent.js index e1db1c937..3c104a1fa 100644 --- a/lib/octicons_react/src/createIconComponent.js +++ b/lib/octicons_react/src/createIconComponent.js @@ -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',