Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui-presets / src / presets / ProductPieces / ProductImageWithCaption / ProductImageWithCaption.tsx
Size: Mime:
import React from 'react'
import { ProductImageWithCaptionProps } from './typings'
import { StyledFigure } from './styled'

class ProductImageWithCaption extends React.PureComponent<
  ProductImageWithCaptionProps
  > {
  static defaultProps = {
    captionColor: 'grey',
  }
  render() {
    const { captionColor } = this.props
    return <StyledFigure {...this.props} captionColor={captionColor} />
  }
}

export { ProductImageWithCaption }
export default ProductImageWithCaption