import { Skeleton } from "@pythnetwork/component-library/Skeleton"; import clsx from "clsx"; import type { ComponentProps } from "react"; import styles from "./index.module.scss"; type OwnProps = { isLoading?: boolean | undefined; isCurrent?: boolean | undefined; }; type Props = Omit, keyof OwnProps> & OwnProps; export const Ranking = ({ isLoading, isCurrent, className, children, ...props }: Props) => ( {isLoading ? ( ) : (
{children}
)}
);