UNPKG

mt-flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

9 lines (8 loc) 463 B
import { jsx as _jsx } from "react/jsx-runtime"; import { twMerge } from 'tailwind-merge'; import { useTheme } from '../../'; import { mergeDeep } from '../../helpers/merge-deep'; export const TimelineTime = ({ children, className, theme: customTheme = {}, ...props }) => { const theme = mergeDeep(useTheme().theme.timeline.item.content, customTheme).time; return (_jsx("time", { className: twMerge(theme, className), ...props, children: children })); };