Skip to content

Commit

Permalink
Merge pull request #452 from IntersectMBO/fix/364-information-storage…
Browse files Browse the repository at this point in the history
…-steps

fix/364-information-storage-steps
  • Loading branch information
Sworzen1 authored Mar 12, 2024
2 parents 938907c + 21c2a0a commit 59db1a1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions govtool/frontend/public/icons/Download.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Box } from "@mui/material";
import OpenInNewIcon from "@mui/icons-material/OpenInNew";

import { Button, Spacer, Typography } from "@atoms";
import { ICONS } from "@consts";
import { useCreateGovernanceActionForm, useTranslation } from "@hooks";
import { Step } from "@molecules";
import { BgCard, ControlledField } from "@organisms";
Expand Down Expand Up @@ -64,11 +65,11 @@ export const StorageInformation = ({ setStep }: StorageInformationProps) => {
</Typography>
<Box sx={{ my: 4 }}>
<Step
// TODO: add onClick action when available
component={
<Button
onClick={onClickDownloadJson}
size="extraLarge"
startIcon={<img src={ICONS.download} />}
sx={{ width: "fit-content" }}
>
{`${fileName}.jsonld`}
Expand Down
1 change: 1 addition & 0 deletions govtool/frontend/src/consts/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const ICONS = {
copyWhiteIcon: "/icons/CopyWhite.svg",
dashboardActiveIcon: "/icons/DashboardActive.svg",
dashboardIcon: "/icons/Dashboard.svg",
download: "/icons/Download.svg",
drawerIcon: "/icons/DrawerIcon.svg",
externalLinkIcon: "/icons/ExternalLink.svg",
faqsActiveIcon: "/icons/FaqsActive.svg",
Expand Down

0 comments on commit 59db1a1

Please sign in to comment.