-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tangle-dapp): Implement unstake requests table (#2453)
- Loading branch information
1 parent
08bdd13
commit f326fdf
Showing
56 changed files
with
1,434 additions
and
720 deletions.
There are no files selected for viewing
36 changes: 28 additions & 8 deletions
36
apps/tangle-dapp/app/liquid-staking/[tokenSymbol]/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84 changes: 0 additions & 84 deletions
84
apps/tangle-dapp/components/LiquidStaking/AvailableWithdrawCard.tsx
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
apps/tangle-dapp/components/LiquidStaking/LiquidStakeAndUnstakeCards.tsx
This file was deleted.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
apps/tangle-dapp/components/LiquidStaking/TableRowsSkeleton.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { SkeletonLoader } from '@webb-tools/webb-ui-components'; | ||
import { FC } from 'react'; | ||
import { twMerge } from 'tailwind-merge'; | ||
|
||
export type SkeletonLoaderSetProps = { | ||
rowCount: number; | ||
className?: string; | ||
}; | ||
|
||
const TableRowsSkeleton: FC<SkeletonLoaderSetProps> = ({ | ||
rowCount, | ||
className, | ||
}) => { | ||
return ( | ||
<div className={twMerge('flex flex-col gap-2 w-full')}> | ||
{Array.from({ length: rowCount }).map((_, index) => ( | ||
<SkeletonLoader | ||
key={index} | ||
className={twMerge('h-7 w-full', className)} | ||
/> | ||
))} | ||
</div> | ||
); | ||
}; | ||
|
||
export default TableRowsSkeleton; |
Oops, something went wrong.