add textbox to send screen

This commit is contained in:
Paul Miller
2023-04-24 14:36:20 -05:00
parent 22d09b412b
commit bc7dcb6e12
4 changed files with 72 additions and 71 deletions

View File

@@ -96,6 +96,10 @@ const VStack: ParentComponent<{ biggap?: boolean }> = (props) => {
return (<div class={`flex flex-col gap-${props.biggap ? "8" : "4"}`}>{props.children}</div>)
}
const HStack: ParentComponent<{ biggap?: boolean }> = (props) => {
return (<div class={`flex gap-${props.biggap ? "8" : "4"}`}>{props.children}</div>)
}
const SmallAmount: ParentComponent<{ amount: number | bigint }> = (props) => {
return (<h2 class="font-light text-lg">{props.amount.toLocaleString()} <span class="text-sm">SATS</span></h2>)
}
@@ -116,5 +120,6 @@ export {
DefaultMain,
LargeHeader,
VStack,
HStack,
SmallAmount
}