import React from 'react';
import { Icon } from '@alicloud/console-components';
import classnames from 'classnames';
var NavCollapseTrigger = function (_a) {
    var collapsed = _a.collapsed, onClick = _a.onClick;
    return (React.createElement("div", { className: "nav-collapse-trigger-wrapper" },
        React.createElement("div", { className: "nav-collapse-trigger-container", onClick: onClick },
            React.createElement("span", { className: classnames("nav-collapse-trigger", { "hide": collapsed }) },
                React.createElement(Icon, { className: "nav-collapse-trigger-icon", type: "arrow-left", size: "xs" })))));
};
export default NavCollapseTrigger;
