hoda-react
Version:
<div align="center"> <h1>:construction: flowbite-react (unreleased) :construction:</h1> <p> <a href="https://flowbite-react.com"> <img alt="Flowbite - Tailwind CSS components" width="350" src=".github/assets/flowbite-react-github.png"> <
9 lines (8 loc) • 483 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import classNames from 'classnames';
import { mergeDeep } from '../../helpers/mergeDeep';
import { useTheme } from '../Flowbite/ThemeContext';
export const NavbarBrand = ({ theme: customTheme = {}, children, href, className, ...props }) => {
const theme = mergeDeep(useTheme().theme.navbar.brand, customTheme);
return (_jsx("a", { href: href, className: classNames(theme.base, className), ...props, children: children }));
};