"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PageListingErrorLoadMore = void 0;
var react_1 = __importDefault(require("react"));
var react_native_responsive_fontsize_1 = require("react-native-responsive-fontsize");
var free_solid_svg_icons_1 = require("@fortawesome/free-solid-svg-icons");
var react_native_fontawesome_1 = require("@fortawesome/react-native-fontawesome");
var native_1 = require("../../Button/native");
var PageListingErrorLoadMore_style_1 = require("./PageListingErrorLoadMore.style");
exports.PageListingErrorLoadMore = function (_a) {
    var retry = _a.retry;
    return (react_1.default.createElement(PageListingErrorLoadMore_style_1.Container, { testID: "error-load-more" },
        react_1.default.createElement(PageListingErrorLoadMore_style_1.TextP, null, "Houve um erro ao carregar mais resultados"),
        react_1.default.createElement(PageListingErrorLoadMore_style_1.RetryBtn, { testID: "retry-load-more-btn", onPress: retry },
            react_1.default.createElement(native_1.Button, { onPress: retry },
                react_1.default.createElement(react_native_fontawesome_1.FontAwesomeIcon, { icon: free_solid_svg_icons_1.faRedo, color: "white", size: react_native_responsive_fontsize_1.RFValue(14) }),
                "\u00A0\u00A0\u00A0 Tentar novamente"))));
};
//# sourceMappingURL=PageListingErrorLoadMore.js.map