@@ -673,7 +673,7 @@ export const WithImage = () => (
673673 attachments = { [
674674 {
675675 title : 'This is a title' ,
676- description : 'This is a description' ,
676+ description : 'This is a description :nyan_rocket: ' ,
677677 image_url : '/dummypath'
678678 }
679679 ] }
@@ -697,6 +697,19 @@ export const WithImage = () => (
697697 }
698698 ] }
699699 />
700+ < Message
701+ msg = 'multi file'
702+ attachments = { [
703+ {
704+ title : 'This is a title' ,
705+ image_url : '/dummypath'
706+ } ,
707+ {
708+ title : 'This is a title' ,
709+ image_url : '/dummypath'
710+ }
711+ ] }
712+ />
700713 < Message
701714 attachments = { [
702715 {
@@ -724,7 +737,21 @@ export const WithImageLargeFont = () => (
724737 attachments = { [
725738 {
726739 title : 'This is a title' ,
727- description : 'This is a description :nyan_rocket:' ,
740+ description : 'Header false' ,
741+ image_url : '/dummypath'
742+ }
743+ ] }
744+ isHeader = { false }
745+ />
746+ < Message
747+ msg = 'multi file'
748+ attachments = { [
749+ {
750+ title : 'This is a title' ,
751+ image_url : '/dummypath'
752+ } ,
753+ {
754+ title : 'This is a title' ,
728755 image_url : '/dummypath'
729756 }
730757 ] }
@@ -756,16 +783,22 @@ export const WithVideo = () => (
756783 attachments = { [
757784 {
758785 title : 'This is a title' ,
786+ description : 'Header false' ,
759787 video_url : '/dummypath'
760- } ,
788+ }
789+ ] }
790+ isHeader = { false }
791+ />
792+ < Message
793+ msg = 'multi file'
794+ attachments = { [
761795 {
762796 title : 'This is a title' ,
763- description : 'This is a description :nyan_rocket:' ,
764797 video_url : '/dummypath'
765798 } ,
766799 {
767800 title : 'This is a title' ,
768- video_url : '/dummypath2 '
801+ video_url : '/dummypath '
769802 }
770803 ] }
771804 />
@@ -791,6 +824,19 @@ export const WithVideoLargeFont = () => (
791824 }
792825 ] }
793826 />
827+ < MessageLargeFont
828+ msg = 'multi file'
829+ attachments = { [
830+ {
831+ title : 'This is a title' ,
832+ video_url : '/dummypath'
833+ } ,
834+ {
835+ title : 'This is a title' ,
836+ video_url : '/dummypath'
837+ }
838+ ] }
839+ />
794840 </ >
795841) ;
796842
@@ -805,19 +851,23 @@ export const WithAudio = () => (
805851 }
806852 ] }
807853 />
808- < Message msg = 'First message' isHeader = { false } />
809854 < Message
810855 attachments = { [
811856 {
812857 title : 'This is a title' ,
813- description : 'This is a description ' ,
858+ description : 'Header false ' ,
814859 audio_url : '/dummypath'
815860 }
816861 ] }
817862 isHeader = { false }
818863 />
819864 < Message
865+ msg = 'multi file'
820866 attachments = { [
867+ {
868+ title : 'This is a title' ,
869+ audio_url : '/dummypath'
870+ } ,
821871 {
822872 title : 'This is a title' ,
823873 audio_url : '/dummypath'
@@ -878,7 +928,17 @@ export const WithAudioLargeFont = () => (
878928 isHeader = { false }
879929 />
880930 < MessageLargeFont
931+ msg = 'multi file'
881932 attachments = { [
933+ {
934+ title : 'This is a title' ,
935+ audio_url : '/dummypath'
936+ } ,
937+ {
938+ title : 'This is a title' ,
939+ description : 'This is a description :nyan_rocket:' ,
940+ audio_url : '/dummypath'
941+ } ,
882942 {
883943 title : 'This is a title' ,
884944 audio_url : '/dummypath'
@@ -1056,6 +1116,17 @@ export const FileAttachmentsWithFilenamesLargeFont = () => (
10561116 ] }
10571117 isHeader = { false }
10581118 />
1119+ < MessageLargeFont
1120+ msg = 'multi file'
1121+ attachments = { [
1122+ {
1123+ text : 'File.pdf'
1124+ } ,
1125+ {
1126+ text : 'File.pdf'
1127+ }
1128+ ] }
1129+ />
10591130 </ >
10601131) ;
10611132
0 commit comments