File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libs/remix-ui/modal-dialog/src/lib Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ export const ModalDialog = (props: ModalDialogProps) => {
115
115
{ props . okLabel && (
116
116
< button
117
117
data-id = { `${ props . id } -modal-footer-ok-react` }
118
- className = { 'modal-ok btn btn-sm ' + ( props . okBtnClass ? props . okBtnClass : state . toggleBtn ? 'border -primary' : 'border -secondary' ) }
118
+ className = { 'modal-ok btn btn-sm ' + ( props . okBtnClass ? props . okBtnClass : state . toggleBtn ? 'btn -primary' : 'btn -secondary' ) }
119
119
disabled = { props . validation && ! props . validation . valid }
120
120
onClick = { ( ) => {
121
121
if ( props . validation && ! props . validation . valid ) return
@@ -130,7 +130,7 @@ export const ModalDialog = (props: ModalDialogProps) => {
130
130
{ props . cancelLabel && (
131
131
< button
132
132
data-id = { `${ props . id } -modal-footer-cancel-react` }
133
- className = { 'modal-cancel btn btn-sm ' + ( props . cancelBtnClass ? props . cancelBtnClass : state . toggleBtn ? 'border -secondary' : 'border -primary' ) }
133
+ className = { 'modal-cancel btn btn-sm ' + ( props . cancelBtnClass ? props . cancelBtnClass : state . toggleBtn ? 'btn -secondary' : 'btn -primary' ) }
134
134
data-bs-dismiss = "modal"
135
135
onClick = { ( ) => {
136
136
if ( props . cancelFn ) props . cancelFn ( AppModalCancelTypes . click )
You can’t perform that action at this time.
0 commit comments