Skip to content

Commit

Permalink
Fix the newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasz-sodzawiczny committed Aug 18, 2022
1 parent 5039923 commit 4d97206
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/mui-joy/src/index.ts
Expand Up @@ -134,4 +134,4 @@ export { default as TextField } from './TextField';
export * from './TextField';

export { default as Typography } from './Typography';
export * from './Typography';
export * from './Typography';
4 changes: 2 additions & 2 deletions scripts/generate-joy-index.js
Expand Up @@ -11,8 +11,8 @@ const subdirs = fs

const componentExports = subdirs
.filter((name) => name.match(/^[A-Z]/))
.map((name) => `export { default as ${name} } from './${name}';\nexport * from './${name}';`)
.join('\n\n');
.map((name) => `export { default as ${name} } from './${name}';\nexport * from './${name}';\n`)
.join('\n');

const nonComponentExports = `export { default as colors } from './colors';\nexport * from './styles';\n\n`;

Expand Down

0 comments on commit 4d97206

Please sign in to comment.