* feat: redesign * feat: update other columns to new design * chore: small fixes * fix: better manage external webview * feat: redesign note * feat: update ui * chore: update * chore: update * chore: polish ui * chore: update auth ui * feat: finalize note design * chore: small fixes * feat: add window management in rust * chore: format * feat: update ui for event screen * feat: update event screen * feat: final
11 lines
351 B
TypeScript
11 lines
351 B
TypeScript
import { QRCodeSVG } from "qrcode.react";
|
|
import { memo } from "react";
|
|
|
|
export const Invoice = memo(function Invoice({ invoice }: { invoice: string }) {
|
|
return (
|
|
<div className="mt-2 flex items-center rounded-lg bg-neutral-200 p-2 dark:bg-neutral-800">
|
|
<QRCodeSVG value={invoice} includeMargin={true} className="rounded-lg" />
|
|
</div>
|
|
);
|
|
});
|