UNPKG

@kadconsulting/dry

Version:
8 lines 863 B
import { jsx as _jsx } from "react/jsx-runtime"; import './DisplayLg.scss'; import '../Typography.scss'; import { forwardRef } from 'react'; import classnames from 'classnames'; const DisplayLg = forwardRef(({ id, children, className, verticalRhythm, textAlign = 'left', weight = 'regular', fontStyle = 'normal', textDecoration = 'none', color = 'fontColorDisplayLg', ...props }, ref) => (_jsx("h3", { id: id, ref: ref, className: classnames(className, 'dry-displayLg', `dry-displayLg--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 DisplayLg; //# sourceMappingURL=DisplayLg.js.map