lnurl-pay.me/src/Tipped.svelte
2021-07-17 13:44:07 +03:00

10 lines
211 B
Svelte

<script>
import { Tooltip } from 'sveltestrap';
const uuid=Math.random().toString(36).replace('0.','tip');
</script>
<slot name="thing" id="{uuid}"/>
<Tooltip target={uuid}>
<slot name="tip"/>
</Tooltip>