Skip to content

Commit

Permalink
Use MUI buttons (horizontal)
Browse files Browse the repository at this point in the history
  • Loading branch information
andracc committed Dec 18, 2024
1 parent 20558e9 commit 8826541
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/AnalyticsConsent/AnalyticsConsent.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Button, List } from "@mui/material";
import Drawer from "@mui/material/Drawer";
import { ReactElement } from "react";

Expand Down Expand Up @@ -25,8 +26,10 @@ export function AnalyticsConsent(props: ConsentProps): ReactElement {
open
onClose={!props.required ? clickedAway : undefined}
>
<button onClick={acceptAnalytics}>Accept</button>
<button onClick={rejectAnalytics}>Reject</button>
<List>
<Button onClick={acceptAnalytics}>Accept</Button>
<Button onClick={rejectAnalytics}>Reject</Button>
</List>
</Drawer>
</div>
);
Expand Down

0 comments on commit 8826541

Please sign in to comment.