mirror of https://github.com/vector-im/riot-web
				
				
				
			Merge pull request #6576 from SimonBrandner/fix/export-default
Export components by defaultpull/21833/head
						commit
						7598ce6ca3
					
				|  | @ -28,7 +28,7 @@ import { CallEvent, CallState, MatrixCall } from 'matrix-js-sdk/src/webrtc/call' | |||
| import { MatrixClientPeg } from '../../../MatrixClientPeg'; | ||||
| import { replaceableComponent } from "../../../utils/replaceableComponent"; | ||||
| import { EventSubscription } from 'fbemitter'; | ||||
| import { PictureInPictureDragger } from './PictureInPictureDragger'; | ||||
| import PictureInPictureDragger from './PictureInPictureDragger'; | ||||
| 
 | ||||
| const SHOW_CALL_IN_STATES = [ | ||||
|     CallState.Connected, | ||||
|  |  | |||
|  | @ -42,7 +42,7 @@ import DesktopCapturerSourcePicker from "../elements/DesktopCapturerSourcePicker | |||
| import Modal from '../../../Modal'; | ||||
| import { SDPStreamMetadataPurpose } from 'matrix-js-sdk/src/webrtc/callEventTypes'; | ||||
| import CallViewSidebar from './CallViewSidebar'; | ||||
| import { CallViewHeader } from './CallView/CallViewHeader'; | ||||
| import CallViewHeader from './CallView/CallViewHeader'; | ||||
| import AccessibleTooltipButton from "../elements/AccessibleTooltipButton"; | ||||
| import { Alignment } from "../elements/Tooltip"; | ||||
| 
 | ||||
|  |  | |||
|  | @ -94,7 +94,7 @@ const CallTypeIcon: React.FC<{ type: CallType }> = ({ type }) => { | |||
|     return <div className={classes} />; | ||||
| }; | ||||
| 
 | ||||
| export const CallViewHeader: React.FC<CallViewHeaderProps> = ({ | ||||
| const CallViewHeader: React.FC<CallViewHeaderProps> = ({ | ||||
|     type, | ||||
|     pipMode = false, | ||||
|     callRooms = [], | ||||
|  | @ -131,3 +131,5 @@ export const CallViewHeader: React.FC<CallViewHeaderProps> = ({ | |||
|         </div> | ||||
|     ); | ||||
| }; | ||||
| 
 | ||||
| export default CallViewHeader; | ||||
|  |  | |||
|  | @ -55,7 +55,7 @@ interface IState { | |||
|  * (PiP mode). It displays the call(s) which is *not* in the room the user is currently viewing. | ||||
|  */ | ||||
| @replaceableComponent("views.voip.PictureInPictureDragger") | ||||
| export class PictureInPictureDragger extends React.Component<IProps, IState> { | ||||
| export default class PictureInPictureDragger extends React.Component<IProps, IState> { | ||||
|     private callViewWrapper = createRef<HTMLDivElement>(); | ||||
|     private initX = 0; | ||||
|     private initY = 0; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Michael Telatynski
						Michael Telatynski