1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-22 04:54:18 +00:00

🔧 Pass ...props to the logo image

This commit is contained in:
Stefano Pigozzi 2021-04-21 18:31:49 +02:00
parent 882de3bac8
commit c73624f628
Signed by untrusted user who does not match committer: steffo
GPG key ID: 6965406171929D01

View file

@ -1,6 +1,4 @@
import React, {useContext} from "react"
import Style from "./Logo.module.css"
import classNames from "classnames"
import LogoDark from "../media/LogoDark.png"
import LogoLight from "../media/LogoLight.png"
import ContextTheme from "../contexts/ContextTheme"
@ -21,6 +19,6 @@ export default function Logo({ children, className, ...props }) {
}
return (
<img src={logo} alt={"N.E.S.T."}/>
<img src={logo} alt={"N.E.S.T."} {...props}/>
)
}