/react-imgback-loader

Primary LanguageJavaScriptMIT LicenseMIT

react-imgback-loader

React Image Background Loader

Install

npm install react-imgback-loader

Usage

Examples and documentation.

<Backimg
  src="http://mywebsite.com/myimage.jpg"
  style={{height:'220px', width:'100%', backgroundPosition:'center center', backgroundSize:'cover'}}
  loader={<loader />}
/>