-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Alter layout and copy of Feedback component in Footer (#3542)
- Loading branch information
Showing
4 changed files
with
33 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,13 @@ | ||
import Box from "@mui/material/Box"; | ||
import Link from "@mui/material/Link"; | ||
import Typography from "@mui/material/Typography"; | ||
import React from "react"; | ||
import React, { PropsWithChildren } from "react"; | ||
|
||
export default function FeedbackDisclaimer(): FCReturn { | ||
export default function FeedbackDisclaimer({ | ||
children, | ||
}: PropsWithChildren): FCReturn { | ||
return ( | ||
<Box> | ||
<Typography variant="body2"> | ||
Do not share personal or financial information in your feedback. If you | ||
do we’ll act according to our{" "} | ||
<Link | ||
href="https://www.planx.uk/privacy" | ||
target="_blank" | ||
rel="noopener" | ||
> | ||
privacy policy | ||
</Link> | ||
. | ||
</Typography> | ||
<Typography variant="body2">{children}</Typography> | ||
</Box> | ||
); | ||
} |