Sha256: c25dd1d099a5fe40e7749f7f7228d477d682524d30562930c7b57608fa586320
Contents?: true
Size: 430 Bytes
Versions: 31
Compression:
Stored size: 430 Bytes
Contents
/* @flow */ import React from 'react' import classnames from 'classnames' import { spacing } from '../utilities/spacing.js' type ImageProps = { url: string, alt?: string, } const Image = (props: ImageProps) => { const { alt = '', url = '' } = props return ( <img alt={alt} className={classnames('pb_image lazyload blur_up', spacing(props))} data-src={url} /> ) } export default Image
Version data entries
31 entries across 31 versions & 1 rubygems