<commit_before># react-background-image-loader
Allows you display a placeholder image while the actual background image loads

## Installation
`npm install react-background-image-loader --save`

## Usage
```javascript
  import React from 'react';
  import BackgroundImage from 'react-background-image-loader';

  export default (props) => {
    const {source, ...otherProps} = props;
    const localImage = '/path/to/local/asset';

    return(
      <BackgroundImage img={source} placeholder={localImage} {...otherProps}>
        <div className="something-else">
          Some more markup
        </div>
        <SomeOtherReactComponent />
      </BackgroundImage>
    );
  }
```

## Props
prop        | type   | notes
------------|--------|-----------------------------------------
img         | string | Remote image to be loaded
placeholder | string | Local image to be immediately displayed<commit_msg>*extremely dj khaled voice* another one<commit_after># react-background-image-loader
Allows you display a placeholder image while the actual background image loads

## Installation
`npm install react-background-image-loader --save`

## Usage
```javascript
  import React from 'react';
  import BackgroundImage from 'react-background-image-loader';

  export default (props) => {
    const {source, ...otherProps} = props;
    const localImage = '/path/to/local/asset';

    return(
      <BackgroundImage img={source} placeholder={localImage} {...otherProps}>
        <div className="something-else">
          Some more markup
        </div>
        <SomeOtherReactComponent />
      </BackgroundImage>
    );
  }
```

## Props
prop        | type   | notes
------------|--------|-----------------------------------------
img         | string | Remote image to be loaded
placeholder | string | Local image to be immediately displayed

## License

MIT License
{'fraction_non_alphanumeric': 0.17050938337801608, 'fraction_numerical': 0.0, 'mean_word_length': 2.4301470588235294, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '999904', 'n_tokens_mistral': 479, 'n_tokens_neox': 462, 'n_words': 149}