Package Exports
- @instructure/ui-img
Readme
category: packages
ui-img
An accessible image component.
Components
The ui-img package contains the following:
Installation
yarn add @instructure/ui-imgUsage
---
example: false
---
import React from 'react'
import { Img } from '@instructure/ui-img'
const MyImg = () => {
return (
<Img src={placeholderImage(250, 350)} alt="A Placeholder Image" />
)
}