import * as React from 'react'; interface IProps { isDirty: boolean; onClose: () => void; onReset: () => void; onSave: () => void; gettext: (text: string) => string; isVideoLoading: boolean; } export class VideoEditorHeader extends React.PureComponent { render() { const {gettext} = this.props; return ( <> {!this.props.isVideoLoading && this.props.isDirty ? (
) : ( )} ); } }