| 
									
										
										
										
											2022-03-23 13:23:28 -07:00
										 |  |  | // Copyright 2022 Signal Messenger, LLC
 | 
					
						
							|  |  |  | // SPDX-License-Identifier: AGPL-3.0-only
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import type { ReactElement } from 'react'; | 
					
						
							|  |  |  | import React from 'react'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | const SPACING = 10; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-11-17 16:45:19 -08:00
										 |  |  | export function MessageTextMetadataSpacer({ | 
					
						
							| 
									
										
										
										
											2022-03-23 13:23:28 -07:00
										 |  |  |   metadataWidth, | 
					
						
							| 
									
										
										
										
											2022-11-17 16:45:19 -08:00
										 |  |  | }: Readonly<{ metadataWidth: number }>): ReactElement { | 
					
						
							|  |  |  |   return ( | 
					
						
							|  |  |  |     <span style={{ display: 'inline-block', width: metadataWidth + SPACING }} /> | 
					
						
							|  |  |  |   ); | 
					
						
							|  |  |  | } |