mirror of
https://github.com/zhigang1992/react-content-loader.git
synced 2026-04-01 13:03:03 +08:00
24 lines
758 B
JavaScript
24 lines
758 B
JavaScript
import React from 'react'
|
|
import Wrap from '../Wrap'
|
|
|
|
const CodeStyle = props =>
|
|
return (
|
|
<Wrap {...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" />
|
|
</Wrap>
|
|
)
|
|
}
|
|
|
|
export default CodeStyle
|