import { css } from "@emotion/react"; import { domAnimation, LazyMotion, m } from "framer-motion"; import { FC, useState } from "react"; import { QRious } from "react-qrious"; import { Fab, QrCode } from "./mui"; const QR: FC<{ url: string }> = ({ url }) => ; export const QRButton: FC<{ url: string }> = ({ url }) => { const [showQR, setQR] = useState(false); return ( { setQR(!showQR); }} css={css` margin-top: 12px; margin-bottom: 12px; `} > {showQR ? ( ) : ( )} ); };