mirror of
https://github.com/zhigang1992/react-content-loader.git
synced 2026-04-24 04:15:55 +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
15 lines
436 B
TypeScript
15 lines
436 B
TypeScript
import * as React from 'react'
|
|
|
|
import Holder from '../Holder'
|
|
import { IContentLoaderProps } from '../'
|
|
|
|
export default (props: IContentLoaderProps) => (
|
|
<Holder {...props} height={480}>
|
|
<circle cx="30" cy="30" r="30" />
|
|
|
|
<rect x="75" y="13" rx="4" ry="4" width="100" height="13" />
|
|
<rect x="75" y="37" rx="4" ry="4" width="50" height="8" />
|
|
<rect x="0" y="70" rx="5" ry="5" width="400" height="400" />
|
|
</Holder>
|
|
)
|