Skip to content

Commit afd18cd

Browse files
authored
Merge pull request #68 from SevenOutman/perf/default-export-name
perf: improve type declaration hinting
2 parents 22a6a4e + 81d55b6 commit afd18cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ export const bootstrapDialog = (
539539
};
540540
};
541541

542-
export default {
542+
const NiceModal = {
543543
Provider,
544544
ModalDef,
545545
NiceModalContext,
@@ -555,3 +555,5 @@ export default {
555555
muiDialog,
556556
bootstrapDialog,
557557
};
558+
559+
export default NiceModal;

0 commit comments

Comments
 (0)