import React, { useCallback, useState } from 'react'; import { Button } from '../Button'; import { Icon } from '../Icon'; import { Modal } from '../Modal'; import { QRCode } from '../QRCode'; import { QRContainer } from './styled'; export type Props = Pick< React.ComponentPropsWithoutRef, 'variant' | 'size' | 'shape' > & Pick, 'value'>; export const QRCodeButton = ({ value, size, variant, shape }: Props) => { const [isOpen, setOpen] = useState(false); const open = useCallback(() => setOpen(true), []); const close = useCallback(() => setOpen(false), []); return ( <> ); }; QRCodeButton.displayName = 'QRCodeButton';