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) • 393 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import classNames from 'classnames';
import { useTheme } from '../Flowbite';
export const TimelineTitle = ({ children, className, as = 'h3', ...props }) => {
const theme = useTheme().theme.timeline.item.content;
const Tag = as;
return (_jsx(Tag, { className: classNames(theme.title, className), ...props, children: children }));
};