ohif-viewer/platform/ui/src/components/Icon/Icon.jsx
Gustavo André Lelis 8c6daf5395 Feat/ui v2 ohif logo svg (#1506)
* Adding new icons

* Introducing Svg component

* Adding ohif logo into header
2020-05-15 12:36:01 +01:00

14 lines
304 B
JavaScript

import React from 'react';
import PropTypes from 'prop-types';
import getIcon from './getIcon';
const Icon = ({ name, ...otherProps }) => {
return <React.Fragment>{getIcon(name, { ...otherProps })}</React.Fragment>;
};
Icon.propTypes = {
name: PropTypes.string.isRequired,
};
export default Icon;