Skip to content

Commit dcbd029

Browse files
Export notification banner child components
1 parent 4808877 commit dcbd029

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

src/__tests__/index.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ describe('Index', () => {
9292
'NavAZDisabledItem',
9393
'NavAZLinkItem',
9494
'NotificationBanner',
95+
'NotificationBannerHeading',
96+
'NotificationBannerLink',
97+
'NotificationBannerTitle',
9598
'Pagination',
9699
'PaginationLink',
97100
'Panel',

src/components/content-presentation/notification-banner/NotificationBanner.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1+
'use client';
2+
13
import {
24
Children,
3-
type ComponentPropsWithoutRef,
45
createRef,
56
forwardRef,
67
useEffect,
78
useState,
9+
type ComponentPropsWithoutRef,
810
} from 'react';
911
import classNames from 'classnames';
1012
import {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
export * from './components/index.js';
12
export * from './NotificationBanner.js';

0 commit comments

Comments
 (0)