@hawk-ui/image

4.4.6 • Public • Published

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

Demo

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>

Package Sidebar

Install

npm i @hawk-ui/image

Weekly Downloads

170

Version

4.4.6

License

MIT

Unpacked Size

23.1 kB

Total Files

9

Last publish

Collaborators

  • saurabh2112