An accessible image component.
The ui-img
package contains the following:
npm install @instructure/ui-img
---
type: code
---
import React from 'react'
import { Img } from '@instructure/ui-img'
const MyImg = () => {
return (
<Img src={placeholderImage(250, 350)} alt="A Placeholder Image" />
)
}