Image
Display image content.
Usage
First of all, you need to import the Image
component from the @tonightpass/kitchen
package.
import { Image } from "@tonightpass/kitchen"
Static
Props
Name | Type | Default | Required | Description | Accepted values |
---|---|---|---|---|---|
src | string | undefined | ✅ | The URL or path of the image. | - |
alt | string | undefined | ✅ | The alternative text for the image. | - |