@uob-web-and-digital/component-library 0.0.70 → 0.0.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,6 +2,7 @@ import { ReactElement } from 'react';
|
|
|
2
2
|
import { ThemeProps } from '../../../themeProps';
|
|
3
3
|
import { CardStaffProps } from '../../molecules/CardStaff/CardStaff';
|
|
4
4
|
import { LinkWithArrowProps } from '../../atoms/LinkWithArrow/LinkWithArrow';
|
|
5
|
+
import { HeadingProps } from '../../atoms/Heading/Heading';
|
|
5
6
|
import './staffListingCarousel.scss';
|
|
6
7
|
export interface StaffListingCarouselProps {
|
|
7
8
|
theme: ThemeProps;
|
|
@@ -11,5 +12,6 @@ export interface StaffListingCarouselProps {
|
|
|
11
12
|
cards: CardStaffProps[];
|
|
12
13
|
headingStyle?: 'news' | null;
|
|
13
14
|
singleLink: LinkWithArrowProps;
|
|
15
|
+
titleTag?: HeadingProps['htmlTag'];
|
|
14
16
|
}
|
|
15
|
-
export default function StaffListingCarousel({ theme, inverse, fullWidth, heading, headingStyle, cards, singleLink }: StaffListingCarouselProps): ReactElement;
|
|
17
|
+
export default function StaffListingCarousel({ theme, inverse, fullWidth, heading, headingStyle, cards, singleLink, titleTag }: StaffListingCarouselProps): ReactElement;
|
package/dist/index.d.ts
CHANGED
|
@@ -1254,8 +1254,9 @@ interface StaffListingCarouselProps {
|
|
|
1254
1254
|
cards: CardStaffProps[];
|
|
1255
1255
|
headingStyle?: 'news' | null;
|
|
1256
1256
|
singleLink: LinkWithArrowProps;
|
|
1257
|
+
titleTag?: HeadingProps$1['htmlTag'];
|
|
1257
1258
|
}
|
|
1258
|
-
declare function StaffListingCarousel({ theme, inverse, fullWidth, heading, headingStyle, cards, singleLink }: StaffListingCarouselProps): ReactElement;
|
|
1259
|
+
declare function StaffListingCarousel({ theme, inverse, fullWidth, heading, headingStyle, cards, singleLink, titleTag }: StaffListingCarouselProps): ReactElement;
|
|
1259
1260
|
|
|
1260
1261
|
interface SidebarWrapperProps {
|
|
1261
1262
|
/**
|