blob: 26002ae232ce7acb84e9a74cb4f7ff102862689b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<script lang="ts">
import { offer } from "../../network/transfer/transfer";
export let token: string;
async function accept() {
const transfer = await offer(token);
}
function decline() {}
</script>
<div class="container">
<span>{token}</span>
<div class="buttons">
<button on:click={accept}>Accept</button>
<button on:click={decline}>X</button>
</div>
</div>
<style>
.container {
display: flex;
justify-content: space-between;
align-items: center;
}
.buttons {
display: flex;
}
</style>
|