Download dev.to-clone/src/components/skeletons/CustomizeProfileSkeleton.jsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.26 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/dev.to-clone/src/components/skeletons/CustomizeProfileSkeleton.jsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/dev.to-clone/src/components/skeletons/CustomizeProfileSkeleton.jsx
-
curl -L -o CustomizeProfileSkeleton.jsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/dev.to-clone/src/components/skeletons/CustomizeProfileSkeleton.jsx
1.26 kB
| import { Flex, Skeleton, SkeletonCircle } from '@chakra-ui/react'; | |
| import React from 'react'; | |
| import useSkeletonColor from '../../hooks/useSkeletonColor'; | |
| import { CustomizeProfileCard } from '../../utils/CustomizeProfileStyles'; | |
| const CustomizeProfileSkeleton = () => { | |
| const skeletonColor = useSkeletonColor(); | |
| return ( | |
| <Flex justify='center' w='100%' flex='1' align='flex-start'> | |
| <CustomizeProfileCard w='100%' maxWidth='720px' mx='.5rem' mb='1rem'> | |
| <SkeletonCircle boxSize={'100px'} mx='auto' {...skeletonColor} /> | |
| <Skeleton | |
| h='15px' | |
| w='150px' | |
| mb='.5rem' | |
| mt='1rem' | |
| {...skeletonColor} | |
| /> | |
| <Skeleton | |
| borderRadius='5px' | |
| h='40px' | |
| w='100%' | |
| mb='1rem' | |
| {...skeletonColor} | |
| /> | |
| <Skeleton h='15px' w='150px' mb='.5rem' {...skeletonColor} /> | |
| <Skeleton | |
| borderRadius='5px' | |
| h='40px' | |
| w='100%' | |
| mb='.5rem' | |
| {...skeletonColor} | |
| /> | |
| </CustomizeProfileCard> | |
| </Flex> | |
| ); | |
| }; | |
| export default CustomizeProfileSkeleton; | |