hds-web 1.24.6 → 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.6",
3
+ "version": "1.24.8",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -44,16 +44,17 @@ export default function EventScheduleCard(props) {
44
44
  </div>
45
45
  <div className="px-6">
46
46
  {/* share button */}
47
+ share
47
48
  </div>
48
49
  </div>
49
50
  )
50
- const speakerSection = (speaker) => (
51
+ const speakerSection = (speakerName, speakerDesignation, speakerImgUrl ) => (
51
52
  <div className="">
52
53
  <ProfileAvatar
53
- name={speaker?.speakerName}
54
+ name={speakerName}
54
55
  size='md'
55
- designation={speaker?.speakerDesignation}
56
- imageUrl={speaker?.speakerImgUrl}
56
+ designation={speakerDesignation}
57
+ imageUrl={speakerImgUrl}
57
58
  avatarVariant="circle"
58
59
  avatarType="primary"
59
60
  />
@@ -88,9 +89,17 @@ export default function EventScheduleCard(props) {
88
89
  className='text-neutral-700 pb-6'>
89
90
  {props.description}
90
91
  </Typography>}
91
- <div className="pt-6 border-t border-neutral-200">
92
-
93
- {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
+
94
103
  </div>
95
104
  </div>
96
105
  </>