Skip to content

Commit

Permalink
Add IconDirectionContextProvider to font icon exports (#644)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomi-msft authored Sep 14, 2023
1 parent 9f7058b commit d8988c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/react-icons/convert-font.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ async function processFiles(src, dest) {
indexContents.push('export { default as bundleIcon } from \'../utils/bundleIcon\'');
indexContents.push('export * from \'../utils/useIconState\'');
indexContents.push('export * from \'../utils/constants\'');
indexContents.push('export { IconDirectionContextProvider, useIconContext } from \'../contexts/index\'');
indexContents.push('export type { IconDirectionContextValue } from \'../contexts/index\'');


await fs.writeFile(indexPath, indexContents.join('\n'));

Expand Down

0 comments on commit d8988c6

Please sign in to comment.