import React from "react";
import { useTranslation } from "react-i18next";
import * as styles from "./styles";
import { Text } from "~/components/deprecated";
import { AttributionDeprecated as Attribution } from "~/components/Attribution";
import { useNeighborhoodDemographics } from "~/sdks/NeighborhoodDemographics/context";
export const Footer = () => {
    const { t } = useTranslation(["neighborhoodDemographics", "common"]);
    const { locale, hideAttribution } = useNeighborhoodDemographics();
    return (React.createElement("div", { className: styles.container },
        React.createElement(Text, { noMargin: true, variant: "caption1", color: "--ll-color-on-background-variant1" }, t("note")),
        !hideAttribution && (React.createElement(Attribution, { sdkName: "neighborhood-demographics", locale: locale }))));
};
//# sourceMappingURL=index.js.map