@vertisanpro/flowbite-react
Version:
Non-Official React components built for Flowbite and Tailwind CSS
10 lines (9 loc) • 539 B
JavaScript
import { twMerge } from '@vertisanpro/tailwind-merge';
import React from 'react';
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 (React.createElement("blockquote", { className: twMerge(theme.root.base, className), "data-testid": "flowbite-blockquote", ...props }, children));
};
Blockquote.displayName = 'Blockquote';