fixes https://github.com/twentyhq/twenty/issues/5659 https://github.com/twentyhq/twenty/assets/19856731/aeae6f08-bc6e-4d71-9067-39b6382ebf15
16 lines
418 B
TypeScript
16 lines
418 B
TypeScript
import Skeleton, { SkeletonTheme } from 'react-loading-skeleton';
|
|
import { useTheme } from '@emotion/react';
|
|
|
|
export const SettingsAccountLoader = () => {
|
|
const theme = useTheme();
|
|
return (
|
|
<SkeletonTheme
|
|
baseColor={theme.background.tertiary}
|
|
highlightColor={theme.background.transparent.lighter}
|
|
borderRadius={4}
|
|
>
|
|
<Skeleton height={20} width={512} />
|
|
</SkeletonTheme>
|
|
);
|
|
};
|