import { __assign } from "tslib";
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import Popover from '../../popover';
var PickerPopover = function (_a) {
    var trigger = _a.trigger, content = _a.content, panelVisible = _a.panelVisible, onVisibleChange = _a.onVisibleChange;
    return (_jsxs(Popover, __assign({ className: "zent-datepicker-popup", cushion: 5, position: Popover.Position.AutoBottomLeft, visible: panelVisible, onVisibleChange: onVisibleChange }, { children: [_jsx(Popover.Trigger.Click, { children: trigger }, void 0), _jsx(Popover.Content, { children: content }, void 0)] }), void 0));
};
export default PickerPopover;
