"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PotentialMatchActivity = void 0;
var react_1 = __importDefault(require("react"));
var ActivityTitle_1 = require("../../../ActivityTitle");
var CollapsibleActivityRecords_1 = require("../../../CollapsibleActivityRecords");
var PotentialMatchRecord_1 = require("../../../PotentialMatchRecord");
var PotentialMatchActivity = function (_a) {
    var type = _a.type, data = _a.data;
    return (react_1.default.createElement("div", { "data-reltio-id": "potential-match-activity" },
        react_1.default.createElement(ActivityTitle_1.ActivityTitle, { type: type }),
        react_1.default.createElement(CollapsibleActivityRecords_1.CollapsibleActivityRecords, { activityUri: data.uri, items: data.items, RecordComponent: PotentialMatchRecord_1.PotentialMatchRecord })));
};
exports.PotentialMatchActivity = PotentialMatchActivity;
