# Component/Image/ImagePreview

## Props


| Name | Type | Required | Default | Description |
|------|------|----------|---------|-------------|
| `src` | `string | undefined` | No |  |  |
| `width` | `CSSValueWithLength | undefined` | No | 100 |  |
| `height` | `CSSValueWithLength | undefined` | No | 100 |  |
| `borderRadius` | `CSSValueWithLength | undefined` | No | 8 |  |
| `alt` | `string | undefined` | No |  |  |
| `label` | `string | undefined` | No |  |  |
| `objectFit` | `"fill" "contain" "cover"` | Yes |  |  |
| `size` | `undefined "medium" "small"` | No | medium |  |
| `backgroundDark` | `boolean | undefined` | No |  |  |
| `error` | `boolean | undefined` | No |  |  |
| `onClick` | `((image_url: string) => void) | undefined` | No |  |  |
