"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.AutoCenter = void 0;
var _react = _interopRequireDefault(require("react"));
var _nativeProps = require("../../utils/native-props");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const classPrefix = 'adm-auto-center';
const AutoCenter = props => (0, _nativeProps.withNativeProps)(props, _react.default.createElement("div", {
  className: classPrefix
}, _react.default.createElement("div", {
  className: `${classPrefix}-content`
}, props.children)));
exports.AutoCenter = AutoCenter;