@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
25 lines (21 loc) • 623 B
JavaScript
import React from "react";
import { Grid, Button, Box } from "@material-ui/core";
import BackspaceIcon from "@material-ui/icons/Backspace";
import { useTranslation } from "react-i18next";
import { goStep } from "@hooks/useConfig";
export default function ChangeAmount() {
const { t } = useTranslation();
return (
<Box mt={3}>
<Grid container justify="flex-end" spacing={2}>
<Button
endIcon={<BackspaceIcon />}
onClick={() => goStep("donate_Amount")}
color="secondary"
>
{t("donation.amount.change")}
</Button>
</Grid>
</Box>
);
}