"use strict";

var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = PickerTag;

var React = _interopRequireWildcard(require("react"));

var _context = require("../config-provider/context");

function PickerTag(props) {
  var _React$useContext = React.useContext(_context.ConfigContext),
      getPrefixClassName = _React$useContext.getPrefixClassName;

  var prefix = getPrefixClassName('picker');
  return /*#__PURE__*/React.createElement("span", Object.assign({
    className: "".concat(prefix, "-tag")
  }, props), props.children);
}