File tree Expand file tree Collapse file tree 1 file changed +19
-19
lines changed
src/ui/widgets/ActionButton Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments