import { Layout, Playground, Attributes } from 'lib/components'
import { Image, Display, Code } from 'components'
export const meta = {
title: 'Image',
description: 'tenotext',
}
## Image
Display image content.
`} />
`} />
Set the height to reduces the possibility of page rerender.
}>
`} />
Image.Props
| Attribute | Description | Type | Accepted values | Default
| ---------- | ---------- | ---- | -------------- | ------ |
| **src** | image src | `string` | - | - |
| **animation** | display animation when loading | `boolean` | - | `true` |
| **width** | width | `number` | - | - |
| **height** | height | `number` | - | - |
| **scale** | scale value | `string` | - | `100%` |
| ... | native props | `ImgHTMLAttributes` | `'alt', 'className', ...` | - |
export default ({ children }) => {children}