* applied eslint * add locales and lint the project * removed error boundary * updated locales * fix min files * fix locales
11 lines
302 B
JavaScript
11 lines
302 B
JavaScript
import React from 'react';
|
|
import { browserIcon } from 'App/iconNames';
|
|
import { Icon } from 'UI';
|
|
|
|
function BrowserIcon({ browser, size = '20', ...props }) {
|
|
return <Icon name={browserIcon(browser)} size={size} {...props} />;
|
|
}
|
|
|
|
BrowserIcon.displayName = 'BrowserIcon';
|
|
|
|
export default BrowserIcon;
|