"use strict";

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