mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 23:01:29 +00:00
8 lines
174 B
PHP
8 lines
174 B
PHP
@props([
|
|
'variant' => 'info',
|
|
])
|
|
@php
|
|
$variantClass = $variant === 'warning' ? 'warning-box' : 'info-box';
|
|
@endphp
|
|
<div class="{{ $variantClass }}">{{ $slot }}</div>
|