import { Box } from '@wix/design-system';
import { MaxLines } from '../MaxLines';
import React from 'react';
export function ModalHeadingBox(props) {
    const { children, maxLines, lineHeight, ...rest } = props;
    return (React.createElement(Box, { minWidth: 0, boxSizing: "border-box", direction: "vertical", ...rest },
        React.createElement(MaxLines, { webkitLineClamp: false, lineHeight: lineHeight, maxLines: maxLines, wordBreak: "break-word" }, children)));
}
//# sourceMappingURL=ModalHeadingBox.js.map