Skip to content

Commit

Permalink
feat: Add AllProps export (resolves #1032)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasenkoo committed Jan 3, 2025
1 parent 0964117 commit 36ed4a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/entry.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import component, * as namedExports from './entry.esm';
import { AllProps } from '@/props.ts';

Object.entries(namedExports).forEach(([exportName, exported]) => {
if (exportName !== 'default') component[exportName] = exported;
});

export default component;

export { AllProps };

0 comments on commit 36ed4a2

Please sign in to comment.