mirror of
https://github.com/sp-tarkov/forge.git
synced 2025-02-13 04:30:41 -05:00
Refringe
691f352d01
Updates the user follow component to two smaller components. Still needs to be optimized.
12 lines
519 B
PHP
12 lines
519 B
PHP
@props(['name'])
|
|
|
|
<div class="flex flex-col justify-stretch sm:flex-row">
|
|
<button {{ $attributes->whereStartsWith('wire:') }} {{ $attributes->merge([
|
|
'type' => 'button',
|
|
'class' => 'inline-flex justify-center rounded-md bg-white dark:bg-gray-700 px-3 py-2 text-sm font-semibold text-gray-900 dark:text-gray-100 shadow-sm ring-1 ring-inset ring-gray-300 dark:ring-gray-600 hover:bg-gray-50 dark:hover:bg-gray-600',
|
|
]) }}>
|
|
{{ $icon }}
|
|
<span>{{ $slot }}</span>
|
|
</button>
|
|
</div>
|