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 { useDispatch } from 'react-redux'; | 
					
						
							|  |  |  | import { setOverlayMode } from '../../../state/ducks/section'; | 
					
						
							|  |  |  | import { SpacerMD } from '../../basic/Text'; | 
					
						
							|  |  |  | import { SessionIconButton } from '../../icon'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export const OverlayHeader = ({ subtitle, title }: { title: string; subtitle: string }) => { | 
					
						
							|  |  |  |   const dispatch = useDispatch(); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   return ( | 
					
						
							|  |  |  |     <> | 
					
						
							|  |  |  |       <div className="exit"> | 
					
						
							|  |  |  |         <SessionIconButton | 
					
						
							|  |  |  |           iconSize="small" | 
					
						
							|  |  |  |           iconType="chevron" | 
					
						
							|  |  |  |           iconRotation={90} | 
					
						
							|  |  |  |           onClick={() => { | 
					
						
							|  |  |  |             dispatch(setOverlayMode(undefined)); | 
					
						
							|  |  |  |           }} | 
					
						
							|  |  |  |         /> | 
					
						
							|  |  |  |       </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       <SpacerMD /> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       <h2>{title}</h2> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       <h3> | 
					
						
							|  |  |  |         {subtitle} | 
					
						
							|  |  |  |         <hr className="green-border" /> | 
					
						
							|  |  |  |       </h3> | 
					
						
							|  |  |  |       <hr className="white-border" /> | 
					
						
							|  |  |  |     </> | 
					
						
							|  |  |  |   ); | 
					
						
							|  |  |  | }; |