Skip to content

Instantly share code, notes, and snippets.

@paulomcnally
Created March 6, 2018 15:28
Show Gist options
  • Select an option

  • Save paulomcnally/5673a41cacae669f1792565fa74cfe92 to your computer and use it in GitHub Desktop.

Select an option

Save paulomcnally/5673a41cacae669f1792565fa74cfe92 to your computer and use it in GitHub Desktop.
import ContentLoader from 'react-content-loader';
const HorizontalCardLoader = () => (
<ContentLoader
height={190}
width={405}
speed={2}
primaryColor={"#ebecf0"}
secondaryColor={"#f3f5f7"}
>
<rect x="178" y="20" rx="3" ry="3" width="170" height="6.4" />
<rect x="178" y="79" rx="3" ry="3" width="120" height="6.4" />
<rect x="178" y="50" rx="3" ry="3" width="170" height="6.4" />
<rect x="0" y="0" rx="0" ry="0" width="160" height="160" />
</ContentLoader>
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment