@hawk-ui/image
v4.4.1
Published
hawk-ui: Basic Image Component
Downloads
244
Maintainers
Readme
Installation
To install a component run
$ npm install @hawk-ui/image --save
Please import CSS styles via
@import '/path__to__node_modules/@hawk-ui/image/dist/index.min.css
Usage
Image
import Image from '@hawk-ui/image';
<div style={{ width: '200px' }}>
<Image
src={null}
fallbackSrc="https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"
alt="google image"
role="show image"
title="google"
/>
</div>