upd: loading button

Deskripsi:
- loading button pada all portofolio

- loading button pada halaman pencarian user

No Issues
This commit is contained in:
amel
2024-12-12 11:01:08 +08:00
parent a6047445be
commit 880f2aef6b
2 changed files with 13 additions and 4 deletions

View File

@@ -43,11 +43,16 @@ export function ComponentPortofolio_DaftarBoxView({
</Stack> </Stack>
<Stack> <Stack>
{isLoading ? ( {/* PAKE LOADING */}
{/* {isLoading ? (
<ComponentGlobal_Loader /> <ComponentGlobal_Loader />
) : ( ) : (
<IconCaretRight color="white" size={25} /> <IconCaretRight color="white" size={25} />
)} )} */}
{/* GA PAKE LOADING */}
<IconCaretRight color="white" size={25} />
</Stack> </Stack>
</Group> </Group>
</Paper> </Paper>

View File

@@ -115,11 +115,15 @@ function CardView({ data }: { data: MODEL_USER }) {
<Group position="right" align="center" h={"100%"}> <Group position="right" align="center" h={"100%"}>
<Center> <Center>
<ActionIcon variant="transparent"> <ActionIcon variant="transparent">
{loading ? ( {/* PAKE LOADING */}
{/* {loading ? (
<ComponentGlobal_Loader /> <ComponentGlobal_Loader />
) : ( ) : (
<IconChevronRight color="white" /> <IconChevronRight color="white" />
)} )} */}
{/* GA PAKE LOADING */}
<IconChevronRight color="white" />
</ActionIcon> </ActionIcon>
</Center> </Center>
</Group> </Group>