Skip to content

Instantly share code, notes, and snippets.

@fabiomazucato
Last active December 27, 2020 23:56
Show Gist options
  • Save fabiomazucato/a920fa5c0e2a280f2703c37a099b8ce8 to your computer and use it in GitHub Desktop.
Save fabiomazucato/a920fa5c0e2a280f2703c37a099b8ce8 to your computer and use it in GitHub Desktop.
Skeleton - Parte 1 (view.js)
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