@@ -60,15 +60,15 @@ const { Paragraph, Text } = Typography;
60
60
61
61
/**
62
62
* @function
63
- * @param props.event
64
- * @param props.openForm
65
- * @param props.onEdit
66
- * @param props.onShare
67
- * @param props.openIndicatorDashboard
68
- * @param props.onContent
63
+ * @param {object } props props object
64
+ * @param {object } props.event valid event objetc
65
+ * @param {Function } props.openForm open callback
66
+ * @param {Function } props.onEdit edit callback
67
+ * @param {Function } props.onShare share callback
68
+ * @param {Function } props.openIndicatorDashboard indicator callback
69
+ * @param {Function } props.onContent content callback
69
70
* @name EventToolbar
70
71
* @description List of actions user can perform on a particular event
71
- * @param {object } props React props
72
72
* @returns {object } React component
73
73
* @version 0.1.0
74
74
* @since 0.1.0
@@ -223,10 +223,10 @@ const EventToolbar = ({
223
223
224
224
/**
225
225
* @function
226
- * @param props.cause
226
+ * @param {object } props props object
227
+ * @param {string } props.cause event cause
227
228
* @name EventCause
228
229
* @description Display Event Cause
229
- * @param {object } props React props
230
230
* @returns {object } React component
231
231
* @version 0.1.0
232
232
* @since 0.1.0
@@ -242,11 +242,11 @@ const EventCause = ({ cause }) => {
242
242
243
243
/**
244
244
* @function
245
- * @param props.title
246
- * @param props.actions
245
+ * @param {object } props props object
246
+ * @param {string } props.title valid title
247
+ * @param {* } props.actions valid actions
247
248
* @name EventDetailsSectionHeader
248
249
* @description Header section for event details drawer
249
- * @param {object } props React props
250
250
* @returns {object } React component
251
251
* @version 0.1.0
252
252
* @since 0.1.0
@@ -261,9 +261,9 @@ export const EventDetailsSectionHeader = ({ title, actions }) => {
261
261
} ;
262
262
263
263
/**
264
- * @param root0
265
- * @param root0. areas
266
- * @param root0 .openForm
264
+ * @param { object } props props object
265
+ * @param { object[] } props.areas list of areas
266
+ * @param { Function } props .openForm open callback
267
267
* @function
268
268
* @name EventLocations
269
269
* @description Section which show event location(s) in hierarchy
@@ -295,8 +295,8 @@ export const EventLocations = ({ areas = [], openForm }) => {
295
295
} ;
296
296
297
297
/**
298
- * @param root0
299
- * @param root0. places
298
+ * @param { object } props props object
299
+ * @param { * } props.places valid places
300
300
* @function
301
301
* @name EventPlaces
302
302
* @description Section which show event affected place(s) in hierarchy
@@ -316,11 +316,11 @@ export const EventPlaces = ({ places = '' }) => {
316
316
317
317
/**
318
318
* @function
319
- * @param props.actions
320
- * @param props.openForm
319
+ * @param {object } props Event action taken props
320
+ * @param {object[] } props.actions valid actions
321
+ * @param {Function } props.openForm open callback
321
322
* @name EventActionsTaken
322
323
* @description Section which show actions taken per event
323
- * @param {object } props Event action taken props
324
324
* @returns {object } React component
325
325
* @version 0.1.0
326
326
* @since 0.1.0
@@ -355,9 +355,9 @@ export const EventActionsTaken = ({ actions = [], openForm }) => {
355
355
} ;
356
356
357
357
/**
358
- * @param root0
359
- * @param root0. agencies
360
- * @param root0 .openForm
358
+ * @param { object } props props object
359
+ * @param { object[] } props.agencies list of agencies
360
+ * @param { Function } props .openForm open callback
361
361
* @function
362
362
* @name EventRespondingAgencies
363
363
* @description Section which show event responding agencies
@@ -393,9 +393,9 @@ export const EventRespondingAgencies = ({ agencies = [], openForm }) => {
393
393
} ;
394
394
395
395
/**
396
- * @param root0
397
- * @param root0 .focalPeople
398
- * @param root0 .openForm
396
+ * @param { object } props props object
397
+ * @param { object[] } props .focalPeople list of focal people
398
+ * @param { Function } props .openForm open callback
399
399
* @function
400
400
* @name EventRespondingFocalPeople
401
401
* @description Section which show event responding agencies
@@ -436,11 +436,11 @@ export const EventRespondingFocalPeople = ({ focalPeople = [], openForm }) => {
436
436
437
437
/**
438
438
* @function
439
- * @param props.initiator
440
- * @param props.date
439
+ * @param {object } props Component props
440
+ * @param {object } props.initiator valid initiator
441
+ * @param {Date } props.date valid date
441
442
* @name EventFeedItemHeader
442
443
* @description Render Event feed item header
443
- * @param {object } props Component props
444
444
* @returns {object } EventFeedItemHeader component
445
445
* @version 0.1.0
446
446
* @since 0.1.0
@@ -455,8 +455,8 @@ const EventFeedItemHeader = ({ initiator, date }) => {
455
455
} ;
456
456
457
457
/**
458
- * @param root0
459
- * @param root0 .openForm
458
+ * @param { object } props props object
459
+ * @param { Function } props .openForm open callback
460
460
* @function
461
461
* @name EventImpact
462
462
* @description Display Event impact based on indicators
@@ -499,11 +499,11 @@ const EventImpact = ({ openForm }) => {
499
499
500
500
/**
501
501
* @function
502
- * @param props.gaps
503
- * @param props.openForm
502
+ * @param {object } props React components props
503
+ * @param {object[] } props.gaps list of gaps
504
+ * @param {Function } props.openForm open callback
504
505
* @name EventGaps
505
506
* @description Event Gaps and Constraints
506
- * @param {object } props React components props
507
507
* @returns {object } EventGaps
508
508
* @version 0.1.0
509
509
* @since 0.1.0
@@ -537,11 +537,11 @@ const EventGaps = ({ gaps = [], openForm }) => {
537
537
538
538
/**
539
539
* @function
540
- * @param props.recommendations
541
- * @param props.openForm
540
+ * @param {object } props React components props
541
+ * @param {object[] } props.recommendations list of recommendations
542
+ * @param {Function } props.openForm open callback
542
543
* @name EventRecommendations
543
544
* @description Event Recommendations and Remarks
544
- * @param {object } props React components props
545
545
* @returns {object } EventRecommendations
546
546
* @version 0.1.0
547
547
* @since 0.1.0
@@ -741,12 +741,12 @@ const renderFeed = (feed) => {
741
741
742
742
/**
743
743
* @function
744
- * @param props.feeds
745
- * @param props.loading
746
- * @param props.hasMore
744
+ * @param {object } props React props
745
+ * @param {object[] } props.feeds list of feeds
746
+ * @param {boolean } props.loading loading flag
747
+ * @param {boolean } props.hasMore more flag
747
748
* @name EventFeed
748
749
* @description A list of activities(feeds) happening on a particular event
749
- * @param {object } props React props
750
750
* @returns {object } React component
751
751
* @version 0.1.0
752
752
* @since 0.1.0
@@ -787,14 +787,14 @@ export const EventFeed = ({ feeds = [], loading, hasMore }) => {
787
787
788
788
/**
789
789
* @function
790
- * @param props.type
791
- * @param props.description
792
- * @param props.number
793
- * @param props.reportedDate
790
+ * @param {object } props PrintEventDetails Props
791
+ * @param {string } props.type event type
792
+ * @param {string } props.description event description
793
+ * @param {string } props.number event number
794
+ * @param {Date } props.reportedDate event report date
794
795
* @name PrintedEventDetails
795
796
* @description This is event details section which will be visible on printed
796
797
* report only
797
- * @param {object } props PrintEventDetails Props
798
798
* @returns {object } PrintedEventDetails Component
799
799
* @version 0.1.0
800
800
* @since 0.1.0
@@ -820,18 +820,18 @@ const PrintedEventDetails = ({ type, description, number, reportedDate }) => {
820
820
821
821
/**
822
822
* @function
823
- * @param props.event
824
- * @param props.showForm
825
- * @param props.posting
826
- * @param props.changelogs
827
- * @param props.loading
828
- * @param props.hasMore
829
- * @param props.onEdit
830
- * @param props.onShare
831
- * @param props.eventPosting
823
+ * @param {object } props React props
824
+ * @param {object } props.event valid event
825
+ * @param {boolean } props.showForm show flag
826
+ * @param {boolean } props.posting posting flag
827
+ * @param {object[] } props.changelogs list of changelogs
828
+ * @param {boolean } props.loading loading flag
829
+ * @param {boolean } props.hasMore more flag
830
+ * @param {Function } props.onEdit edit callback
831
+ * @param {Function } props.onShare share callback
832
+ * @param {boolean } props.eventPosting event posting flag
832
833
* @name EventDetailsViewBody
833
834
* @description Event Details body view
834
- * @param {object } props React props
835
835
* @returns {object } React component
836
836
* @version 0.1.0
837
837
* @since 0.1.0
0 commit comments