Skip to content

Commit

Permalink
Export FluentIcon type (#657)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlannoye authored Oct 10, 2023
1 parent cc3517e commit 82ad964
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-icons/convert-font.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ async function processFiles(src, dest) {
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 type { FluentIcon } from \'../utils/createFluentIcon\'');
indexContents.push('export * from \'../utils/useIconState\'');
indexContents.push('export * from \'../utils/constants\'');
indexContents.push('export { IconDirectionContextProvider, useIconContext } from \'../contexts/index\'');
Expand Down
1 change: 1 addition & 0 deletions packages/react-icons/convert.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ function processFiles(src, dest) {
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 type { FluentIcon } from \'./utils/createFluentIcon\'');
indexContents.push('export * from \'./utils/useIconState\'');
indexContents.push('export * from \'./utils/constants\'');
indexContents.push('export { IconDirectionContextProvider, useIconContext } from \'./contexts/index\'');
Expand Down

0 comments on commit 82ad964

Please sign in to comment.