This commit is contained in:
Andras Bacsai
2023-05-08 09:16:50 +02:00
parent 117ba360ac
commit 5ed91c05bf
16 changed files with 54 additions and 22 deletions

View File

@@ -1,8 +1,8 @@
@props([
'isWarning' => null,
'defaultClass' => 'text-white bg-neutral-800 hover:bg-violet-600 w-28 h-6',
'defaultWarningClass' => 'text-white bg-red-500 hover:bg-red-600 w-28 h-6',
'loadingClass' => 'text-black bg-green-500 w-28 h-6',
'defaultClass' => 'text-white bg-neutral-800 hover:bg-violet-600 h-8',
'defaultWarningClass' => 'text-white bg-red-500 hover:bg-red-600 h-8',
'loadingClass' => 'text-black bg-green-500 h-8',
'confirm' => null,
'confirmAction' => null,
])

View File

@@ -9,7 +9,7 @@
])
<span @class([
'flex justify-end' => $type === 'checkbox',
'flex' => $type === 'checkbox',
'flex flex-col' => $type !== 'checkbox',
])>
@if (!$noLabel)