@kadconsulting/dry
Version:
KAD Reusable Component Library
8 lines • 863 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import './DisplaySm.scss';
import '../Typography.scss';
import { forwardRef } from 'react';
import classnames from 'classnames';
const DisplaySm = forwardRef(({ id, children, className, verticalRhythm, textAlign = 'left', weight = 'regular', fontStyle = 'normal', textDecoration = 'none', color = 'fontColorDisplaySm', ...props }, ref) => (_jsx("h5", { id: id, ref: ref, className: classnames(className, 'dry-displaySm', `dry-displaySm--color-${color}`, 'dry-typography', `dry-typography--weight-${weight}`, `dry-typography--font-style-${fontStyle}`, `dry-typography--text-align-${textAlign}`, `dry-typography--text-decoration-${textDecoration}`, { 'dry-typography--no-vertical-rhythm': verticalRhythm === false }), ...props, children: children })));
export default DisplaySm;
//# sourceMappingURL=DisplaySm.js.map