Image
The Image
component is an image wrapper that requires the image to be imported before passing it to the src
prop.
Props
Prop | Description | Required | value |
---|---|---|---|
alt | alt description | required | string |
className | custom style | optional | SCSS or Tailwind |
src | imported source | required | image |
title | description | required | string |
Notes
The
src
prop should be an imported image source.The
alt
andtitle
props provide alternative text and a description for the image, respectively.
Last updated