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"> <
8 lines (7 loc) • 378 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import classNames from 'classnames';
import { useTheme } from '../Flowbite/ThemeContext';
export const FooterTitle = ({ title, className }) => {
const theme = useTheme().theme.footer.title;
return (_jsx("h2", { "data-testid": "flowbite-footer-title", className: classNames(theme.base, className), children: title }));
};