hds-web 1.24.7 → 1.24.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hds-web",
3
- "version": "1.24.7",
3
+ "version": "1.24.8",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -48,13 +48,13 @@ export default function EventScheduleCard(props) {
48
48
  </div>
49
49
  </div>
50
50
  )
51
- const speakerSection = (speaker) => (
51
+ const speakerSection = (speakerName, speakerDesignation, speakerImgUrl ) => (
52
52
  <div className="">
53
53
  <ProfileAvatar
54
- name={speaker?.speakerName}
54
+ name={speakerName}
55
55
  size='md'
56
- designation={speaker?.speakerDesignation}
57
- imageUrl={speaker?.speakerImgUrl}
56
+ designation={speakerDesignation}
57
+ imageUrl={speakerImgUrl}
58
58
  avatarVariant="circle"
59
59
  avatarType="primary"
60
60
  />
@@ -89,9 +89,17 @@ export default function EventScheduleCard(props) {
89
89
  className='text-neutral-700 pb-6'>
90
90
  {props.description}
91
91
  </Typography>}
92
- <div className="pt-6 border-t border-neutral-200">
93
-
94
- {speakerSection()}
92
+ <div className="pt-6 border-t border-neutral-200 gap-8 flex flex-wrap">
93
+ {props.speakers && props.speakers.map((value,index)=> (
94
+ <div key={index}>
95
+ {speakerSection(
96
+ value.speakerName,
97
+ value.speakerDesignation,
98
+ value.speakerImgUrl
99
+ )}
100
+ </div>
101
+ ))}
102
+
95
103
  </div>
96
104
  </div>
97
105
  </>