@uob-web-and-digital/component-library 1.0.7 → 1.0.8

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.
@@ -19,9 +19,10 @@ export interface HeroProfileProps {
19
19
  fetchPriority?: React.ImgHTMLAttributes<HTMLImageElement>['fetchPriority'];
20
20
  };
21
21
  studentStatus?: string;
22
+ courseName?: string;
22
23
  courseDetails?: string[];
23
24
  studyLevel?: string;
24
25
  homeCountry?: string;
25
26
  studentIntro?: string;
26
27
  }
27
- export default function HeroProfile({ theme, studentName, studentStatus, courseDetails, studyLevel, titleTag, homeCountry, studentIntro, image, inverse }: HeroProfileProps): ReactElement | null;
28
+ export default function HeroProfile({ theme, studentName, studentStatus, courseName, courseDetails, studyLevel, titleTag, homeCountry, studentIntro, image, inverse }: HeroProfileProps): ReactElement | null;
@@ -7,7 +7,7 @@ declare const meta: {
7
7
  };
8
8
  export default meta;
9
9
  type Story = StoryObj<typeof HeroProfile>;
10
- export declare const Example: Story;
10
+ export declare const AlternativeCourseName: Story;
11
11
  export declare const OneCourse: Story;
12
12
  export declare const TwoCourses: Story;
13
13
  export declare const ThreeCourses: Story;
package/dist/index.d.ts CHANGED
@@ -1741,12 +1741,13 @@ interface HeroProfileProps {
1741
1741
  fetchPriority?: React.ImgHTMLAttributes<HTMLImageElement>['fetchPriority'];
1742
1742
  };
1743
1743
  studentStatus?: string;
1744
+ courseName?: string;
1744
1745
  courseDetails?: string[];
1745
1746
  studyLevel?: string;
1746
1747
  homeCountry?: string;
1747
1748
  studentIntro?: string;
1748
1749
  }
1749
- declare function HeroProfile({ theme, studentName, studentStatus, courseDetails, studyLevel, titleTag, homeCountry, studentIntro, image, inverse }: HeroProfileProps): ReactElement | null;
1750
+ declare function HeroProfile({ theme, studentName, studentStatus, courseName, courseDetails, studyLevel, titleTag, homeCountry, studentIntro, image, inverse }: HeroProfileProps): ReactElement | null;
1750
1751
 
1751
1752
  interface TwoColumnWrapperProps {
1752
1753
  /**