Use Icon component in place of icons.svg
This commit is contained in:
1 parent
6cd84dfa27
commit
7eaa4378bc
5 files changed
+17
-21
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import React from 'react'
|
||||
import './OHIFLogo.css'
|
||||
|
||||
const Icons = `${window.config.routerBasename}/icons.svg`.replace('//', '/')
|
||||
import { Icon } from 'react-viewerbase'
|
||||
|
||||
function OHIFLogo() {
|
||||
return (
|
||||
@@ -11,9 +11,7 @@ function OHIFLogo() {
|
||||
className="header-brand"
|
||||
href="http://ohif.org"
|
||||
>
|
||||
<svg className="header-logo-image">
|
||||
<use xlinkHref={`${Icons}#icon-ohif-logo`} />
|
||||
</svg>
|
||||
<Icon name="ohif-log" className="header-logo-image" />
|
||||
<div className="header-logo-text">Open Health Imaging Foundation</div>
|
||||
</a>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user