Tweaked gitignore

gitignore removed all composer and npm files, so automated builds would fail
This commit is contained in:
Henry Whitaker
2020-04-12 21:24:03 +01:00
parent 698687f12d
commit ea5808047f
27863 changed files with 3399604 additions and 5 deletions

View File

@@ -0,0 +1,25 @@
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import classNames from 'classnames';
import React from 'react';
import { useBootstrapPrefix } from './ThemeProvider';
var ModalDialog = React.forwardRef(function (_ref, ref) {
var bsPrefix = _ref.bsPrefix,
className = _ref.className,
centered = _ref.centered,
size = _ref.size,
children = _ref.children,
scrollable = _ref.scrollable,
props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "className", "centered", "size", "children", "scrollable"]);
bsPrefix = useBootstrapPrefix(bsPrefix, 'modal');
var dialogClass = bsPrefix + "-dialog";
return React.createElement("div", _extends({}, props, {
ref: ref,
className: classNames(dialogClass, className, size && bsPrefix + "-" + size, centered && dialogClass + "-centered", scrollable && dialogClass + "-scrollable")
}), React.createElement("div", {
className: bsPrefix + "-content"
}, children));
});
ModalDialog.displayName = 'ModalDialog';
export default ModalDialog;