import React from 'react';
import classNames from 'classnames';
import { SoftPanel } from '../../Panel';
const verticalPositionToClassNameMap = {
    center: 'softPageContent--verticalCenter',
};
const horizontalPositionToClassNameMap = {
    center: 'softPageContent--horizontalCenter',
};
export const VERTICAL_POSITIONS = Object.keys(verticalPositionToClassNameMap);
export const HORIZONTAL_POSITIONS = Object.keys(horizontalPositionToClassNameMap);
export const SoftPageContent = ({ verticalPosition, horizontalPosition, panelPaddingSize = 'l', children, className, ...rest }) => {
    const classes = classNames('softPageContent', className, verticalPositionToClassNameMap[verticalPosition], horizontalPositionToClassNameMap[horizontalPosition]);
    return (React.createElement(SoftPanel, Object.assign({ className: classes, paddingSize: panelPaddingSize }, rest), children));
};
//# sourceMappingURL=page_content.js.map