mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-11 01:20:06 -04:00
Create ClosedBadge.svelte
This commit is contained in:
parent
8f33531cdb
commit
5f9f599912
1 changed files with 17 additions and 0 deletions
17
src/components/ClosedBadge.svelte
Normal file
17
src/components/ClosedBadge.svelte
Normal file
|
@ -0,0 +1,17 @@
|
|||
<script>
|
||||
import tippy from 'sveltejs-tippy'
|
||||
|
||||
export let channel
|
||||
</script>
|
||||
|
||||
<div
|
||||
class="text-gray-500 border-[1px] border-gray-200 text-xs inline-flex items-center px-2.5 py-0.5 dark:text-gray-300 cursor-default rounded-full"
|
||||
use:tippy={{
|
||||
content: `closed: ${channel.closed}`,
|
||||
allowHTML: true,
|
||||
placement: 'right',
|
||||
interactive: true
|
||||
}}
|
||||
>
|
||||
Closed
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue