import React from "react";
import { Header } from "../Header";
import { Cards } from "../Cards";
import { ContactInfo } from "../ContactInfo";
import * as styles from "./styles";
import { useLeadCapture } from "~/sdks/LeadCapture/context";
import { Attribution } from "~/components/Attribution";
export const Content = () => {
    const { selectedReport, hideAttribution } = useLeadCapture();
    return (React.createElement("div", { className: styles.container, "data-testid": "lead-capture-content" },
        React.createElement(Header, null),
        React.createElement("div", { className: styles.content }, selectedReport === null ? React.createElement(Cards, null) : React.createElement(ContactInfo, null)),
        React.createElement("div", { className: styles.footer, "data-testid": "ll-attribution" },
            React.createElement(Attribution, { isTransparent: true, sdkName: "lead-capture", isHidden: hideAttribution }))));
};
//# sourceMappingURL=index.js.map