import { PlusOutlined, ReloadOutlined, UsergroupAddOutlined, UsergroupDeleteOutlined, UserSwitchOutlined, } from '@ant-design/icons'; import { Button } from '@imphnen-frontend-service/ui/atoms'; import { FC, Fragment, ReactElement, useState } from 'react'; import ModalAddItem from './_components/modal-add-item'; import ModalEditItem from './_components/modal-edit-item'; import ModalDeleteItem from './_components/modal-delete-item'; import { useQueryState } from '@imphnen-frontend-service/utils'; export const Components: FC = (): ReactElement => { const [showModalAddItem, setShowModalAddItem] = useState(false); const [showModalEditItem, setShowModalEditItem] = useState(false); const [showModalDeleteItem, setShowModalDeleteItem] = useState(false); const { step: currentStep, nextStep, prevStep, resetStep, } = useQueryState('step', { defaultValue: 1, maxValue: 2, minValue: 1, }); return (

Dashboard

Summary

1000

Participants

1000

Roll and Reroll

1000

Redeem

1000

Inactive Users

Gacha Items

{[1, 2, 3, 4, 5, 6].map((item) => (

Lanyard IMPHNEN

Prize {item} Quantity: 10
Lanyard IMPHNEN
))}
{/* Right-side illustration */}
{/* Modal Add Item */} setShowModalAddItem(false)} nextStep={nextStep} prevStep={prevStep} resetStep={resetStep} /> {/* Modal Edit Item */} setShowModalEditItem(false)} nextStep={nextStep} prevStep={prevStep} resetStep={resetStep} /> {/* Modal Delete Item */} setShowModalDeleteItem(false)} />
); }; export default Components;