diff --git a/packages/react-icons/convert-font.js b/packages/react-icons/convert-font.js index 2ffa04df1f..b58020b0f2 100644 --- a/packages/react-icons/convert-font.js +++ b/packages/react-icons/convert-font.js @@ -72,7 +72,7 @@ async function processFiles(src, dest) { indexContents.push('export { FluentIconsProps } from \'../utils/FluentIconsProps.types\''); indexContents.push('export { default as wrapIcon } from \'../utils/wrapIcon\''); indexContents.push('export { default as bundleIcon } from \'../utils/bundleIcon\''); - indexContents.push('export { createFluentFontIcon } from \'../utils/fonts/createFluentFontIcon\''); + indexContents.push('export { createFluentFontIcon, FluentIcon } from \'../utils/fonts/createFluentFontIcon\''); indexContents.push('export * from \'../utils/useIconState\''); indexContents.push('export * from \'../utils/constants\''); indexContents.push('export { IconDirectionContextProvider, useIconContext } from \'../contexts/index\''); diff --git a/packages/react-icons/convert.js b/packages/react-icons/convert.js index b65d626ed7..3a24b945bb 100644 --- a/packages/react-icons/convert.js +++ b/packages/react-icons/convert.js @@ -71,7 +71,7 @@ function processFiles(src, dest) { indexContents.push('export { FluentIconsProps } from \'./utils/FluentIconsProps.types\''); indexContents.push('export { default as wrapIcon } from \'./utils/wrapIcon\''); indexContents.push('export { default as bundleIcon } from \'./utils/bundleIcon\''); - indexContents.push('export { createFluentIcon } from \'./utils/createFluentIcon\''); + indexContents.push('export { createFluentIcon, FluentIcon } from \'./utils/createFluentIcon\''); indexContents.push('export * from \'./utils/useIconState\''); indexContents.push('export * from \'./utils/constants\''); indexContents.push('export { IconDirectionContextProvider, useIconContext } from \'./contexts/index\'');