UNPKG

flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

10 lines (9 loc) 543 B
import { jsx as _jsx } from "react/jsx-runtime"; import { twMerge } from 'tailwind-merge'; import { mergeDeep } from '../../helpers/merge-deep'; import { getTheme } from '../../theme-store'; export const Blockquote = ({ children, className, theme: customTheme = {}, ...props }) => { const theme = mergeDeep(getTheme().blockquote, customTheme); return (_jsx("blockquote", { className: twMerge(theme.root.base, className), "data-testid": "flowbite-blockquote", ...props, children: children })); }; Blockquote.displayName = 'Blockquote';