mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* integrate erc-7984 * minor fix * upd * comments * remove the layout property from ConfidentialTokenValue * playwright screenshots * upd
19 lines
443 B
TypeScript
19 lines
443 B
TypeScript
import type { BoxProps } from '@chakra-ui/react';
|
|
import React from 'react';
|
|
|
|
import { Skeleton } from 'toolkit/chakra/skeleton';
|
|
|
|
interface Props extends Omit<BoxProps, 'children'> {
|
|
loading?: boolean;
|
|
}
|
|
|
|
const ConfidentialValue = ({ loading, ...rest }: Props) => {
|
|
return (
|
|
<Skeleton loading={ loading } display="inline-block" { ...rest }>
|
|
•••••
|
|
</Skeleton>
|
|
);
|
|
};
|
|
|
|
export default React.memo(ConfidentialValue);
|