UNPKG

shelving

Version:

Toolkit for using data in JavaScript.

12 lines (11 loc) 741 B
import { jsx as _jsx } from "react/jsx-runtime"; import { getAlignClass } from "../style/Align.js"; import { getColorClass } from "../style/Color.js"; import { getSpacingClass } from "../style/Spacing.js"; import { getThicknessClass } from "../style/Thickness.js"; import { getTypographyClass } from "../style/Typography.js"; import { getClass, getModuleClass } from "../util/css.js"; import styles from "./Blockquote.module.css"; export function Blockquote({ children, ...variants }) { return (_jsx("blockquote", { className: getClass(getModuleClass(styles, "blockquote"), getColorClass(variants), getAlignClass(variants), getSpacingClass(variants), getThicknessClass(variants), getTypographyClass(variants)), children: children })); }