Skip to content

Commit

Permalink
fix: add files
Browse files Browse the repository at this point in the history
  • Loading branch information
zWingz committed Aug 15, 2018
1 parent 652e10f commit 6e38733
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/lib/ErrorIcon/index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import React from 'react'
import SVG from '../../assets/img-load-error.svg'
const style = {
border: '1px dashed #dadada',
backgroundImage: `url(${SVG})`,
backgroundRepeat: 'no-repeat',
backgroundSize: '65% 65%',
width: '100%',
height: '100%',
backgroundPosition: 'center'
}
export default function(props) {
return (
<div
style={{
...style,
...props.style
}}
>
</div>
)
}

0 comments on commit 6e38733

Please sign in to comment.