"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ShowDependentLink = void 0;
var react_1 = __importDefault(require("react"));
var Link_1 = __importDefault(require("@mui/material/Link"));
var ui_i18n_1 = __importDefault(require("ui-i18n"));
var styles_1 = require("./styles");
var ShowDependentLink = function (_a) {
    var showMore = _a.showMore, onClick = _a.onClick;
    var styles = (0, styles_1.useStyles)();
    return (react_1.default.createElement(Link_1.default, { className: styles.root, component: "button", variant: "caption", underline: "none", onClick: onClick },
        react_1.default.createElement("span", null, showMore ? ui_i18n_1.default.text('View dependent crosswalks') : ui_i18n_1.default.text('Hide dependent crosswalks'))));
};
exports.ShowDependentLink = ShowDependentLink;
