UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

19 lines 685 B
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; const _excluded = ["className", "styleType", "ref"]; import React from 'react'; import classnames from 'classnames'; import ModalInner from '../../modal/parts/ModalInner'; export default function DialogBody(_ref) { let { className, styleType, ref } = _ref, props = _objectWithoutProperties(_ref, _excluded); return React.createElement(ModalInner, _extends({}, props, { backgroundColor: styleType, className: classnames('dnb-dialog__body', className) })); } //# sourceMappingURL=DialogBody.js.map