botones de color
This commit is contained in:
@@ -345,6 +345,11 @@ class ShowPromociones extends Component
|
||||
// 'cancelButtonText' => 'No, abandonar.',
|
||||
'denyButtonText' => 'No, abandonar.',
|
||||
'confirmButtonText' => 'Sí, comprar.',
|
||||
'customClass' => [
|
||||
'confirmButton' => 'bg-green-500',
|
||||
'denyButton' => 'bg-red-500',
|
||||
'cancelButton' => 'bg-gray-500',
|
||||
]
|
||||
]);
|
||||
}
|
||||
} else {
|
||||
@@ -371,7 +376,7 @@ class ShowPromociones extends Component
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function confirmarCompra()
|
||||
{
|
||||
@@ -645,6 +650,11 @@ class ShowPromociones extends Component
|
||||
'onDismissed' => '',
|
||||
'cancelButtonText' => 'Salir',
|
||||
'confirmButtonText' => 'Si',
|
||||
'customClass' => [
|
||||
'confirmButton' => 'bg-green-500',
|
||||
'denyButton' => 'bg-red-500',
|
||||
'cancelButton' => 'bg-gray-500',
|
||||
]
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user