Skip to content

Commit 82addef

Browse files
committed
Updated file for prettier
1 parent 9cd6af8 commit 82addef

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

src/ui/widgets/ActionButton/actionButton.tsx

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -75,27 +75,27 @@ export const ActionButtonWidget = (
7575
variant="contained"
7676
disabled={props.disabled}
7777
sx={{
78-
height: "100%",
79-
width: "100%",
80-
fontFamily: props.font?.css() ?? "",
81-
color: props.foregroundColor?.toString() ?? defaultColours.palette.primary.contrastText,
82-
backgroundColor: props.backgroundColor?.toString() ?? defaultColours.palette.primary.main,
83-
border: props.border?.css() ?? ""
84-
}}
78+
height: "100%",
79+
width: "100%",
80+
fontFamily: props.font?.css() ?? "",
81+
color: props.foregroundColor?.toString() ?? defaultColours.palette.primary.contrastText,
82+
backgroundColor: props.backgroundColor?.toString() ?? defaultColours.palette.primary.main,
83+
border: props.border?.css() ?? ""
84+
}}
8585
onClick={onClick}
8686
>
87-
{props.image !== undefined ? (
88-
<figure className={classes.figure}>
89-
<img
90-
style={{ width: "100%", display: "block" }}
91-
src={props.image}
92-
alt={props.image}
93-
></img>
94-
<figcaption>{props.text}</figcaption>
95-
</figure>
96-
) : (
97-
props.text ?? ""
98-
)}
87+
{props.image !== undefined ? (
88+
<figure className={classes.figure}>
89+
<img
90+
style={{ width: "100%", display: "block" }}
91+
src={props.image}
92+
alt={props.image}
93+
></img>
94+
<figcaption>{props.text}</figcaption>
95+
</figure>
96+
) : (
97+
(props.text ?? "")
98+
)}
9999
</Button>
100100
</ThemeProvider>
101101
);

0 commit comments

Comments
 (0)