@conduction/components
Version:
React (Gatsby) components used within the Conduction Skeleton Application (and its implementations)
10 lines (9 loc) • 391 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import * as styles from "./Logo.module.css";
import clsx from "clsx";
export const Logo = ({ onClick, layoutClassName, variant = "header" }) => {
return (_jsx("div", { className: clsx(styles.container, styles[variant], [
onClick && styles.clickable,
layoutClassName && layoutClassName,
]), onClick }));
};