Skip to content

Commit

Permalink
refactor!: Remove icon default export
Browse files Browse the repository at this point in the history
  • Loading branch information
fedorov-xyz committed Aug 16, 2023
1 parent f5e6ac1 commit c1d94f9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/icons-scripts/scripts/output/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ function createReactIcon({
`;
}

// TODO: Избавиться от default export

// TODO: Избавиться от use-client, если избавимся от спрайта
// Чтобы nextjs мог рендерить иконки как серверные компоненты
return `'use-client';
Expand Down Expand Up @@ -48,8 +46,6 @@ export const ${componentName} = makeIcon<${componentName}Props>(
${!!deprecated},
${replacement ? `'${replacement}'` : undefined}
);
export default ${componentName};
`;
}

Expand Down

0 comments on commit c1d94f9

Please sign in to comment.