Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

boundless-image

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boundless-image

An image block with placeholder support for loading and fallback scenarios.

  • 1.0.0-beta.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
increased by83.33%
Maintainers
1
Weekly downloads
 
Created
Source

THIS IS AN AUTOGENERATED FILE. EDIT INDEX.JS INSTEAD.

Image

An image block with placeholder support for loading and fallback scenarios.

Props

Note: only top-level props are in the README, for the full list check out the website.

Required Props

<tr>
    <td>src</td>
    <td><pre><code>string</code></pre></td>
    <td><pre><code class="language-js">'about:blank'</code></pre></td>
    <td>a valid path to the desired image</td>
</tr>
NameTypeDefault ValueDescription

Optional Props

<tr>
    <td>alt</td>
    <td><pre><code>string</code></pre></td>
    <td><pre><code class="language-js">null</code></pre></td>
    <td>a written description of the image for search engines, hovertext and those using accessibility technologies; applied to the `.b-image` as the HTML attributes `alt` or `title`, depending on the type of rendered node</td>
</tr>

<tr>
    <td>displayAsBackgroundImage</td>
    <td><pre><code>bool</code></pre></td>
    <td><pre><code class="language-js">false</code></pre></td>
    <td>emits the image as a `<div>` with `background-image` css property set instead of `<img>`</td>
</tr>

<tr>
    <td>imageProps</td>
    <td><pre><code>object</code></pre></td>
    <td><pre><code class="language-js">{}</code></pre></td>
    <td>any [React-supported attribute](https://facebook.github.io/react/docs/tags-and-attributes.html#html-attributes); applied to the `.b-image` node</td>
</tr>

<tr>
    <td>statusProps</td>
    <td><pre><code>object</code></pre></td>
    <td><pre><code class="language-js">{}</code></pre></td>
    <td>any [React-supported attribute](https://facebook.github.io/react/docs/tags-and-attributes.html#html-attributes); applied to the `.b-image-status` node</td>
</tr>
NameTypeDefault ValueDescription

Keywords

FAQs

Package last updated on 25 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc