mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
21 lines
481 B
TypeScript
21 lines
481 B
TypeScript
import React from 'react';
|
|
|
|
import { Skeleton } from '@luxfi/ui/skeleton';
|
|
|
|
interface Props {
|
|
loading?: boolean;
|
|
className?: string;
|
|
color?: string;
|
|
mt?: string;
|
|
}
|
|
|
|
const ConfidentialValue = ({ loading, className, color, mt }: Props) => {
|
|
return (
|
|
<Skeleton loading={ loading } display="inline-block" className={ className } style={{ color, marginTop: mt }}>
|
|
•••••
|
|
</Skeleton>
|
|
);
|
|
};
|
|
|
|
export default React.memo(ConfidentialValue);
|