feat: unit test and storybook modal

This commit is contained in:
egagofur
2025-03-29 17:56:18 +07:00
parent 88c71ccdfa
commit cc21735468
5 changed files with 383 additions and 7 deletions
+2 -7
View File
@@ -224,14 +224,9 @@ export const Components: FC = (): ReactElement => {
{/**Izin pake untuk debug modals gacha */}
<div>
<p>Debug : Test Modals Gacha</p>
<Button onClick={
() => setShowModal(true)
}>Tekan</Button>
<Button onClick={() => setShowModal(true)}>Tekan</Button>
</div>
{showModal && createPortal(
<ModalsGacha></ModalsGacha>,
document.body
)}
{showModal && createPortal(<ModalsGacha></ModalsGacha>, document.body)}
{/**Izin pake untuk debug modals gacha */}
</Fragment>
);