@proca/widget
Version:
Proca is an open-source campaign toolkit designed to empower activists and organisations in their digital advocacy efforts. It provides a flexible and customisable platform for creating and managing online petitions, email campaigns, and other forms of di
22 lines (19 loc) • 533 B
JavaScript
import Checkbox from "./Checkbox";
import { useTranslation } from "react-i18next";
import { useCampaignConfig } from "@hooks/useConfig";
const BccOptin = props => {
const config = useCampaignConfig();
const { t } = useTranslation();
const props2 = {
...props,
...{
name: "bcc",
label: t("consent.bcc", {
defaultValue: "I want {{organisation}} to receive a copy of my message",
organisation: config.organisation,
}),
},
};
return Checkbox(props2);
};
export default BccOptin;