UNPKG

flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

14 lines (13 loc) 783 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Blockquote = void 0; const jsx_runtime_1 = require("react/jsx-runtime"); const tailwind_merge_1 = require("tailwind-merge"); const merge_deep_1 = require("../../helpers/merge-deep"); const theme_store_1 = require("../../theme-store"); const Blockquote = ({ children, className, theme: customTheme = {}, ...props }) => { const theme = (0, merge_deep_1.mergeDeep)((0, theme_store_1.getTheme)().blockquote, customTheme); return ((0, jsx_runtime_1.jsx)("blockquote", { className: (0, tailwind_merge_1.twMerge)(theme.root.base, className), "data-testid": "flowbite-blockquote", ...props, children: children })); }; exports.Blockquote = Blockquote; exports.Blockquote.displayName = 'Blockquote';