"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "SafeArea", {
    enumerable: true,
    get: function() {
        return SafeArea;
    }
});
var _interop_require_default = require("@swc/helpers/_/_interop_require_default");
var _react = /*#__PURE__*/ _interop_require_default._(require("react"));
var _classnames = /*#__PURE__*/ _interop_require_default._(require("classnames"));
var _components = require("@tarojs/components");
var classPrefix = 'nut-safe-area';
var SafeArea = function SafeArea(props) {
    return /*#__PURE__*/ _react.default.createElement(_components.View, {
        className: (0, _classnames.default)(classPrefix, "".concat(classPrefix, "-position-").concat(props.position))
    });
};
SafeArea.displayName = 'NutSafeArea';
