@violetprotocol/nudge-components
Version:
Components for Nudge's websites and applications.
9 lines (8 loc) • 337 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import fullWhiteLogo from "../../assets/nudge-logo-full-white.png";
export const Logo = ({ ImageComponent, ...props }) => {
if (ImageComponent) {
return _jsx(ImageComponent, { src: fullWhiteLogo, ...props });
}
return _jsx("img", { src: fullWhiteLogo, ...props });
};