Files
react-content-loader/src/stylized/CodeStyle.tsx
Danilo Woznica a04f788057 feat(codebase): react native support (#153)
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
2019-09-25 13:41:59 +01:00

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>
)