import { ExpandAlt, FoldAlt } from "@sofa-design/icons";
import React from "react";
import { ActionIconBox } from "../../Components/ActionIconBox";
var Enlargement = function(param) {
    var _param_isEnlarged = param.isEnlarged, isEnlarged = _param_isEnlarged === void 0 ? false : _param_isEnlarged, onEnlargeClick = param.onEnlargeClick;
    return /*#__PURE__*/ React.createElement(ActionIconBox, {
        title: isEnlarged ? '缩小' : '放大',
        onClick: onEnlargeClick
    }, isEnlarged ? /*#__PURE__*/ React.createElement(FoldAlt, null) : /*#__PURE__*/ React.createElement(ExpandAlt, null));
};
export default Enlargement;
