Skip to content

Commit b5ee576

Browse files
authored
refactor: allow clipboard component slot content (#587)
1 parent 16c4535 commit b5ee576

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

resources/views/clipboard.blade.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,19 @@
3333
name="copy"
3434
size="sm"
3535
/>
36+
37+
{{ $slot }}
3638
@else
3739
<div
3840
:class="{ 'opacity-0': showCheckmarks }"
39-
class="transition-default"
41+
class="flex items-center transition-default"
4042
>
4143
<x-ark-icon
4244
name="copy"
4345
size="sm"
4446
/>
47+
48+
{{ $slot }}
4549
</div>
4650

4751
<div

0 commit comments

Comments
 (0)