Skip to content

Commit

Permalink
fix(icon): add missing export
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Ortiz committed Apr 11, 2024
1 parent d708acd commit 2f94cec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ui/src/components/icon/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,4 +233,4 @@ export { ZipFileIcon } from './components/zip-file-icon.js';

export { Icon } from './icon.component.js';

export { type IconProps } from './icon.types.js';
export { type IconProps, type IconLook } from './icon.types.js';
2 changes: 1 addition & 1 deletion packages/ui/utils/build-icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const main = async () => {

iconNames.sort();
iconNames.push(`\nexport { Icon } from './icon.component.js';`);
iconNames.push(`\nexport { type IconProps } from './icon.types.js';\n`);
iconNames.push(`\nexport { type IconProps, type IconLook } from './icon.types.js';\n`);
await fs.promises.writeFile(path.join(process.cwd(), 'src/components/icon/index.ts'), iconNames.join('\n'));

console.log('\nFinished building icons');
Expand Down

0 comments on commit 2f94cec

Please sign in to comment.