import { Text } from '@wix/design-system';
import { st, classes } from './MaxHeightText.st.css.js';
import React from 'react';
export function MaxHeightText(props) {
    const { lineHeight, className, ...rest } = props;
    return (React.createElement(Text, { ...rest, className: st(classes.root, {
            height24: lineHeight === 24,
        }, className) }));
}
//# sourceMappingURL=MaxHeightText.js.map