openreplay/frontend/app/components/ui/EscapeButton/EscapeButton.js
Andrey Babushkin fd5c0c9747
Add lokalisation (#3092)
* applied eslint

* add locales and lint the project

* removed error boundary

* updated locales

* fix min files

* fix locales
2025-03-06 17:43:15 +01:00

14 lines
312 B
JavaScript

import React from 'react';
import { Icon } from 'UI';
import stl from './escapeButton.module.css';
function EscapeButton({ onClose }) {
return (
<div className={stl.closeWrapper} onClick={onClose}>
<Icon name="close" size="16" />
<div>ESC</div>
</div>
);
}
export default EscapeButton;