mirror of
https://github.com/zhigang1992/react-content-loader.git
synced 2026-05-08 21:23:02 +08:00
re #148, re #137, re #106, re #89, re #16, re #6 * build(rollup): native bundle * feat(native): stylized components * build(typescript): react native check * feat(typing): improves * build(tsconfig): by environment * test(web native): setup * test(native): support * docs(readme): native documentation
22 lines
772 B
TypeScript
22 lines
772 B
TypeScript
import * as React from 'react'
|
|
|
|
import Holder from '../Holder'
|
|
import { IContentLoaderProps } from '../'
|
|
|
|
export default (props: IContentLoaderProps) => (
|
|
<Holder {...props}>
|
|
<rect x="0" y="0" rx="3" ry="3" width="70" height="10" />
|
|
<rect x="80" y="0" rx="3" ry="3" width="100" height="10" />
|
|
<rect x="190" y="0" rx="3" ry="3" width="10" height="10" />
|
|
|
|
<rect x="15" y="20" rx="3" ry="3" width="130" height="10" />
|
|
<rect x="155" y="20" rx="3" ry="3" width="130" height="10" />
|
|
|
|
<rect x="15" y="40" rx="3" ry="3" width="90" height="10" />
|
|
<rect x="115" y="40" rx="3" ry="3" width="60" height="10" />
|
|
<rect x="185" y="40" rx="3" ry="3" width="60" height="10" />
|
|
|
|
<rect x="0" y="60" rx="3" ry="3" width="30" height="10" />
|
|
</Holder>
|
|
)
|