Skip to content

Commit 10872d7

Browse files
zombieJclaude
andcommitted
fix contextClassNames type to match NotificationContext
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 82e5a3e commit 10872d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/NotificationList/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import Notification, {
1212
type NotificationProps,
1313
type NotificationStyles,
1414
} from '../Notification';
15-
import { NotificationContext } from '../NotificationProvider';
15+
import { NotificationContext, type NotificationContextProps } from '../NotificationProvider';
1616
import Content from './Content';
1717

1818
export type Placement = 'top' | 'topLeft' | 'topRight' | 'bottom' | 'bottomLeft' | 'bottomRight';
@@ -43,7 +43,7 @@ export interface NotificationListProps {
4343
interface NotificationListItemProps {
4444
config: NotificationListConfig;
4545
components?: ComponentsType;
46-
contextClassNames?: NotificationClassNames;
46+
contextClassNames?: NotificationContextProps['classNames'];
4747
classNames?: NotificationClassNames;
4848
styles?: NotificationStyles;
4949
motionClassName?: string;

0 commit comments

Comments
 (0)