Skip to content

Commit e6ec9d8

Browse files
zombieJclaude
andcommitted
refactor: export Notification component and NotificationProps type
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5875ecc commit e6ec9d8

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

src/index.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,15 @@ import Notice from './legacy/Notice';
33
import type { NotificationAPI, NotificationConfig } from './hooks/useNotification';
44
import NotificationProvider from './legacy/NotificationProvider';
55
import Progress from './Progress';
6-
import type { ComponentsType } from './Notification';
6+
import Notification from './Notification';
7+
import type { ComponentsType, NotificationProps } from './Notification';
78
import type { NotificationProgressProps } from './Progress';
89

9-
export { useNotification, Notice, NotificationProvider, Progress };
10-
export type { NotificationAPI, NotificationConfig, ComponentsType, NotificationProgressProps };
10+
export { useNotification, Notice, NotificationProvider, Progress, Notification };
11+
export type {
12+
NotificationAPI,
13+
NotificationConfig,
14+
ComponentsType,
15+
NotificationProps,
16+
NotificationProgressProps,
17+
};

0 commit comments

Comments
 (0)