mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-28 07:43:18 +00:00
🎨 Add new Flux icons: implement multiple reusable icon components (e.g., hand-raised, hand-thumb-up, heart, hashtag, home) with variant support for improved UI consistency.
This commit is contained in:
18
resources/views/flux/chart/index.blade.php
Normal file
18
resources/views/flux/chart/index.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
@blaze
|
||||
|
||||
@props([
|
||||
'tooltip' => null,
|
||||
'summary' => null,
|
||||
'value' => null,
|
||||
'svg' => null,
|
||||
])
|
||||
|
||||
@php
|
||||
$classes = Flux::classes('block [:where(&)]:relative');
|
||||
|
||||
$value = is_array($value) ? \Illuminate\Support\Js::encode($value) : $value;
|
||||
@endphp
|
||||
|
||||
<ui-chart {{ $attributes->class($classes) }} wire:ignore.children @if ($value) value="{{ $value }}" @endif>
|
||||
{{ $slot }}
|
||||
</ui-chart>
|
||||
Reference in New Issue
Block a user