import { HexString } from '@gear-js/api';
import { Button } from '@gear-js/ui';
import cx from 'clsx';
import { useModalState } from '@/hooks';
import { withAccount } from '@/shared/ui';
import CouponSVG from '../../assets/coupon.svg?react';
import { IssueVoucherModal } from '../issue-voucher-modal';
import styles from './issue-voucher.module.scss';
type Props = {
programId?: HexString;
buttonSize?: 'small' | 'medium';
buttonColor?: 'secondary' | 'light' | 'transparent';
onSubmit?: () => void;
};
const IssueVoucher = withAccount(({ programId, buttonColor = 'light', buttonSize = 'medium', onSubmit }: Props) => {
const [isModalOpen, openModal, closeModal] = useModalState();
return (
<>
{isModalOpen && }
>
);
});
export { IssueVoucher };