You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
	
	
		
			
				
					
						
							|  |  |  | import React from 'react'; | 
					
						
							|  |  |  | import styled from 'styled-components'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | const LastSeenBarContainer = styled.div`
 | 
					
						
							|  |  |  |   padding-bottom: 35px; | 
					
						
							|  |  |  |   margin-inline-start: 28px; | 
					
						
							|  |  |  |   padding-top: 28px; | 
					
						
							|  |  |  |   overflow: hidden; | 
					
						
							|  |  |  | `;
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | const LastSeenBar = styled.div`
 | 
					
						
							|  |  |  |   width: 100%; | 
					
						
							|  |  |  |   height: 2px; | 
					
						
							|  |  |  |   background-color: ${props => props.theme.colors.lastSeenIndicatorColor}; | 
					
						
							|  |  |  | `;
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | const LastSeenText = styled.div`
 | 
					
						
							|  |  |  |   margin-top: 3px; | 
					
						
							|  |  |  |   font-size: 11px; | 
					
						
							|  |  |  |   line-height: 16px; | 
					
						
							|  |  |  |   letter-spacing: 0.3px; | 
					
						
							|  |  |  |   text-transform: uppercase; | 
					
						
							|  |  |  |   text-align: center; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   color: ${props => props.theme.colors.lastSeenIndicatorTextColor}; | 
					
						
							|  |  |  | `;
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export const SessionLastSeenIndicator = () => { | 
					
						
							|  |  |  |   const { i18n } = window; | 
					
						
							|  |  |  |   const text = i18n('unreadMessages'); | 
					
						
							|  |  |  |   return ( | 
					
						
							|  |  |  |     <LastSeenBarContainer> | 
					
						
							|  |  |  |       <LastSeenBar> | 
					
						
							|  |  |  |         <LastSeenText>{text}</LastSeenText> | 
					
						
							|  |  |  |       </LastSeenBar> | 
					
						
							|  |  |  |     </LastSeenBarContainer> | 
					
						
							|  |  |  |   ); | 
					
						
							|  |  |  | }; |