Skip to content

Commit 303244a

Browse files
committed
chore: added npm package entry file
1 parent 03d22fa commit 303244a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export { default as Dialog } from './dialog/index';
2+
export { default as Message } from './message/index';
3+
export { default as Toast } from './toast/index';

src/toast/_example/base/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import SkylineBehavior from '@behaviors/skyline.js';
22

3-
import Toast from 'tdesign-miniprogram/toast/index';
3+
import { Toast } from 'tdesign-miniprogram';
44

55
Component({
66
behaviors: [SkylineBehavior],

0 commit comments

Comments
 (0)