fix: icon styling with className (#2714)

* fix: icon styling with className

* docs: Add resources to docs
This commit is contained in:
Alireza authored and GitHub committed 2022-02-17 11:23:38 -05:00
1 parent 5c8ee7f906
commit ea390cc5d8
3 files changed
+10 -29

No files matched your search

+8
View File
@@ -40,6 +40,14 @@ Science (EOSS) grantees
Healthcare Imaging with Cloud Healthcare API
[[Video]](https://www.youtube.com/watch?v=2MiX9ScHFhY)
## 2020
### OHIF ITCR Pitch
OHIF pitch for Informatics Technology for Cancer Research (ITCR)
[[Slides]](https://docs.google.com/presentation/d/1MZXnZrVAnjmhVIWqC-aRSvJOoMMRLhLddACdCa1TybM/edit?usp=sharing)
[[Video]](https://vimeo.com/678769373/625bdb8793)
## 2019
### OHIF and VTK.js Training Course
+1 -9
View File
@@ -2,15 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import getIcon from './getIcon';
const Icon = ({ name, className, ...otherProps }) => {
if (className) {
return (
<div className={className}>
{getIcon(name, className, { ...otherProps })}
</div>
);
}
const Icon = ({ name, ...otherProps }) => {
return <React.Fragment>{getIcon(name, { ...otherProps })}</React.Fragment>;
};