Sha256: f0b789c3bdef99337cb18b0644cec948b684d6e3bf396e255c341b6890c2e584

Contents?: true

Size: 272 Bytes

Versions: 38

Compression:

Stored size: 272 Bytes

Contents

/* @flow */

import React from 'react'

type ImageProps = {
  url: string,
  alt?: string,
}

const Image = ({
  alt = '',
  url = '',
}: ImageProps) => (
  <img
      alt={alt}
      className="pb_image lazyload blur_up"
      data-src={url}
  />
)

export default Image

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
playbook_ui-4.17.0.pre.alpha1 app/pb_kits/playbook/pb_image/_image.jsx
playbook_ui-4.16.0 app/pb_kits/playbook/pb_image/_image.jsx
playbook_ui-4.15.0 app/pb_kits/playbook/pb_image/_image.jsx
playbook_ui-4.14.0 app/pb_kits/playbook/pb_image/_image.jsx
playbook_ui-4.15.1.alpha1 app/pb_kits/playbook/pb_image/_image.jsx
playbook_ui-4.13.1 app/pb_kits/playbook/pb_image/_image.jsx
playbook_ui-4.13.0 app/pb_kits/playbook/pb_image/_image.jsx
playbook_ui-4.12.0 app/pb_kits/playbook/pb_image/_image.jsx
playbook_ui-4.11.0 app/pb_kits/playbook/pb_image/_image.jsx
playbook_ui-4.11.0.pre.alpha3 app/pb_kits/playbook/pb_image/_image.jsx
playbook_ui-4.11.0.pre.alpha.pre.2 app/pb_kits/playbook/pb_image/_image.jsx
playbook_ui-4.10.0 app/pb_kits/playbook/pb_image/_image.jsx
playbook_ui-4.10.0.pre.alpha1 app/pb_kits/playbook/pb_image/_image.jsx
playbook_ui-4.9.0.pre.alpha1 app/pb_kits/playbook/pb_image/_image.jsx
playbook_ui-4.9.0 app/pb_kits/playbook/pb_image/_image.jsx
playbook_ui-4.8.2 app/pb_kits/playbook/pb_image/_image.jsx
playbook_ui-4.8.1 app/pb_kits/playbook/pb_image/_image.jsx
playbook_ui-4.7.1 app/pb_kits/playbook/pb_image/_image.jsx
playbook_ui-4.7.0 app/pb_kits/playbook/pb_image/_image.jsx
playbook_ui-4.6.1 app/pb_kits/playbook/pb_image/_image.jsx