* applied eslint * add locales and lint the project * removed error boundary * updated locales * fix min files * fix locales
14 lines
312 B
JavaScript
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;
|