Last active
December 27, 2020 23:56
-
-
Save fabiomazucato/a920fa5c0e2a280f2703c37a099b8ce8 to your computer and use it in GitHub Desktop.
Skeleton - Parte 1 (view.js)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import { SkeletonArea } from './styles' | |
const Skeleton = (props) => { | |
const { | |
marginHorizontal, | |
marginVertical, | |
circle, | |
height, | |
width | |
} = props | |
return ( | |
<SkeletonArea | |
width={width} | |
height={height} | |
mh={marginHorizontal} | |
mv={marginVertical} | |
circle={circle} | |
/> | |
) | |
} | |
export default Skeleton |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment