mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-25 22:44:19 +00:00
🔧 Pass ...props to the logo image
This commit is contained in:
parent
882de3bac8
commit
c73624f628
1 changed files with 1 additions and 3 deletions
|
@ -1,6 +1,4 @@
|
||||||
import React, {useContext} from "react"
|
import React, {useContext} from "react"
|
||||||
import Style from "./Logo.module.css"
|
|
||||||
import classNames from "classnames"
|
|
||||||
import LogoDark from "../media/LogoDark.png"
|
import LogoDark from "../media/LogoDark.png"
|
||||||
import LogoLight from "../media/LogoLight.png"
|
import LogoLight from "../media/LogoLight.png"
|
||||||
import ContextTheme from "../contexts/ContextTheme"
|
import ContextTheme from "../contexts/ContextTheme"
|
||||||
|
@ -21,6 +19,6 @@ export default function Logo({ children, className, ...props }) {
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<img src={logo} alt={"N.E.S.T."}/>
|
<img src={logo} alt={"N.E.S.T."} {...props}/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue