@@ -462,14 +462,14 @@ export interface AutoCompleteInputProps {
462462}
463463
464464export interface CardProps {
465- title : string ;
466- title_link : string ;
467- og_scrape_url : string ;
468- image_url : string ;
469- thumb_url : string ;
470- text : string ;
471- type : string ;
472- alignment : 'right' | 'left' ;
465+ title ? : string ;
466+ title_link ? : string ;
467+ og_scrape_url ? : string ;
468+ image_url ? : string ;
469+ thumb_url ? : string ;
470+ text ? : string ;
471+ type ? : string ;
472+ alignment ? : 'right' | 'left' ;
473473 onLongPress ?: ( event : GestureResponderEvent ) => void ;
474474}
475475
@@ -484,7 +484,7 @@ export interface DateSeparatorProps {
484484 formatDate ?( date : Date ) : string ;
485485}
486486export interface EmptyStateIndicatorProps {
487- listType : 'string' ;
487+ listType ? : 'string' ;
488488}
489489export interface EventIndicatorProps {
490490 event : Client . Event ;
@@ -547,13 +547,41 @@ export interface MessageSystemProps {
547547}
548548
549549export interface ReactionListProps {
550- latestReactions : any ;
550+ latestReactions : Client . ReactionResponse [ ] ;
551551 openReactionSelector ?( event : GestureResponderEvent ) : void ;
552552 getTotalReactionCount ?( ) : string | number ;
553553 visible : boolean ;
554554 position : string ;
555555}
556556
557+ export interface ReactionPickerProps {
558+ hideReactionOwners : boolean ;
559+ reactionPickerVisible : boolean ;
560+ handleDismiss ?( ) : void ;
561+ handleReaction ?( id : string ) : void ;
562+ latestReactions : Client . ReactionResponse [ ] ;
563+ reactionCounts : { [ key : string ] : number } ;
564+ rpLeft : string | number ;
565+ rpTop : string | number ;
566+ rpRight : string | number ;
567+ emojiData : Array < {
568+ icon : string ;
569+ id : string ;
570+ } > ;
571+ }
572+
573+ export interface ReactionPickerWrapperProps {
574+ isMyMessage ?( message : Client . MessageResponse ) : boolean ;
575+ message : Client . MessageResponse ;
576+ offset : string | number ;
577+ handleReaction ?( id : string ) : void ;
578+ emojiData : Array < {
579+ icon : string ;
580+ id : string ;
581+ } > ;
582+ style : object ;
583+ }
584+
557585export interface SpinnerProps { }
558586
559587export interface SuggestionsProviderProps {
@@ -639,6 +667,14 @@ export class MessageSystem extends React.PureComponent<
639667 any
640668> { }
641669export class ReactionList extends React . PureComponent < ReactionListProps , any > { }
670+ export class ReactionPicker extends React . PureComponent <
671+ ReactionPickerProps ,
672+ any
673+ > { }
674+ export class ReactionPickerWrapper extends React . PureComponent <
675+ ReactionPickerWrapperProps ,
676+ any
677+ > { }
642678export class Spinner extends React . PureComponent < SpinnerProps , any > { }
643679export class SuggestionsProvider extends React . PureComponent <
644680 SuggestionsProviderProps ,
0 commit comments