UNPKG

@smitch/fluid

Version:

A lightweight, Tailwind-powered React/Next.js UI component library.

9 lines 557 B
import { jsx as _jsx } from "react/jsx-runtime"; import Link from 'next/link'; import { twMerge } from 'tailwind-merge'; var NavBrand = function (_a) { var brand = _a.brand, src = _a.src, brandStyles = _a.brandStyles, _b = _a.prefetch, prefetch = _b === void 0 ? false : _b; return (_jsx("div", { className: twMerge("navbrand w-1/3 md:w-1/4 lg:w-1/5 xl:w-1/6", brandStyles), children: _jsx(Link, { href: '/', prefetch: prefetch, children: _jsx("img", { src: src, alt: brand }) }) })); }; export default NavBrand; //# sourceMappingURL=NavBrand.js.map