@uob-web-and-digital/component-library 2.21.1 → 2.22.0
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.
|
@@ -41,6 +41,11 @@ export interface HeroProps {
|
|
|
41
41
|
publishDate?: string;
|
|
42
42
|
links?: [] | [Link] | [Link, Link];
|
|
43
43
|
courseSearchProps?: CourseSearchProps;
|
|
44
|
+
/**Additional props for video buttons options **/
|
|
45
|
+
fullVideoId?: string;
|
|
46
|
+
fullVideoButtonLabel?: string;
|
|
47
|
+
describedVideoId?: string;
|
|
48
|
+
describedVideoButtonLabel?: string;
|
|
44
49
|
}
|
|
45
|
-
export default function Hero({ theme, inverse, title, titleTag, description, image, publishDate, links, courseSearchProps }: HeroProps): ReactElement | null;
|
|
50
|
+
export default function Hero({ theme, inverse, title, titleTag, description, image, publishDate, links, courseSearchProps, fullVideoId, fullVideoButtonLabel, describedVideoId, describedVideoButtonLabel }: HeroProps): ReactElement | null;
|
|
46
51
|
export {};
|
|
@@ -17,3 +17,4 @@ export declare const LightRectangleImage: Story;
|
|
|
17
17
|
export declare const DarkLinesOfIntentImage: Story;
|
|
18
18
|
export declare const LightLinesOfIntentImage: Story;
|
|
19
19
|
export declare const LightLinseOfIntentImageAndH1Title: Story;
|
|
20
|
+
export declare const LightWithVideoButtons: Story;
|
|
@@ -2,6 +2,7 @@ import { HeroProps } from './Hero';
|
|
|
2
2
|
export declare const colourBlockHeroProps: HeroProps;
|
|
3
3
|
export declare const rectangleImageHeroProps: HeroProps;
|
|
4
4
|
export declare const linesOfIntentImageHeroProps: HeroProps;
|
|
5
|
+
export declare const linesOfIntentImageHeroPropsWithVideoButtons: HeroProps;
|
|
5
6
|
export declare const newsHeroProps: HeroProps;
|
|
6
7
|
export declare const accommodationHeroProps: HeroProps;
|
|
7
8
|
export declare const schorlarshipsAwardPage: HeroProps;
|