99.10.0 • Published 4 years ago

@temporg/ui-img v99.10.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

category: packages

ui-img

npm  build-status  MIT License  Code of Conduct

An accessible image component.

Components

The ui-img package contains the following:

Installation

yarn add @temporg/ui-img

Usage

---
example: false
---
import React from 'react'
import { Img } from '@temporg/ui-img'

const MyImg = () => {
  return (
    <Img src={placeholderImage(250, 350)} alt="A Placeholder Image" />
  )
}