mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-27 06:33:18 +00:00
16 lines
369 B
PHP
16 lines
369 B
PHP
@blaze
|
|
|
|
@props([
|
|
'field' => null,
|
|
'format' => null,
|
|
'fallback' => null,
|
|
])
|
|
|
|
@php
|
|
$format = is_array($format) ? \Illuminate\Support\Js::encode($format) : $format;
|
|
@endphp
|
|
|
|
<span {{ $attributes }}>
|
|
<slot @if ($field) field="{{ $field }}" @endif @if ($format) format="{{ $format }}" @endif @if ($fallback) fallback="{{ $fallback }}" @endif></slot>
|
|
</span>
|