Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions src/Gallery/insertYourLoaderHere/MiniApp.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import React from "react"
import ContentLoader from "react-content-loader"

const MiniAppLoader = props => {
return (
<ContentLoader viewBox="0 0 800 120" height={120} width={800}>
<Rect x="25" y="10" rx="20" ry="20" width="70" height="70" />
<Rect x="25" y="90" rx="0" ry="0" width="70" height="15" />
<Rect x="115" y="10" rx="20" ry="20" width="70" height="70" />
<Rect x="115" y="90" rx="0" ry="0" width="70" height="15" />
<Rect x="205" y="10" rx="20" ry="20" width="70" height="70" />
<Rect x="205" y="90" rx="0" ry="0" width="70" height="15" />
<Rect x="295" y="10" rx="20" ry="20" width="70" height="70" />
<Rect x="295" y="90" rx="0" ry="0" width="70" height="15" />
</ContentLoader>
)
}

MiniAppLoader.metadata = {
name: 'Randy Rebucas',
github: 'randy-rebucas',
description: 'A loading skeleton for your mini app programs.',
filename: 'MiniApp',
}

export default MiniAppLoader