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:
19
resources/views/flux/chart/tooltip/index.blade.php
Normal file
19
resources/views/flux/chart/tooltip/index.blade.php
Normal file
@@ -0,0 +1,19 @@
|
||||
@blaze
|
||||
|
||||
@props([
|
||||
'field' => null,
|
||||
'format' => null,
|
||||
])
|
||||
|
||||
@php
|
||||
$format = is_array($format) ? \Illuminate\Support\Js::encode($format) : $format;
|
||||
|
||||
$classes = Flux::classes()
|
||||
->add('opacity-0 data-active:opacity-100 absolute flex flex-col rounded-lg overflow-hidden shadow-lg border border-zinc-200 bg-white dark:border-zinc-500 dark:bg-zinc-700');
|
||||
@endphp
|
||||
|
||||
<template name="tooltip">
|
||||
<div {{ $attributes->class($classes) }}>
|
||||
{{ $slot}}
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user