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 classNames from 'classnames'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | interface Props { | 
					
						
							|  |  |  |   /** | 
					
						
							|  |  |  |    * Corresponds to the theme setting in the app, and the class added to the root element. | 
					
						
							|  |  |  |    */ | 
					
						
							|  |  |  |   theme: 'light-theme' | 'dark-theme'; | 
					
						
							|  |  |  |   style: any; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /** | 
					
						
							|  |  |  |  * Provides the parent elements necessary to allow the main Signal Desktop stylesheet to | 
					
						
							|  |  |  |  * apply (with no changes) to messages in the Style Guide. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | export class LeftPaneContext extends React.Component<Props> { | 
					
						
							|  |  |  |   public render() { | 
					
						
							|  |  |  |     const { style, theme } = this.props; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     return ( | 
					
						
							|  |  |  |       <div style={style} className={classNames(theme || 'light-theme')}> | 
					
						
							|  |  |  |         <div className="gutter">{this.props.children}</div> | 
					
						
							|  |  |  |       </div> | 
					
						
							|  |  |  |     ); | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } |