Skip to content

Commit

Permalink
fix: Update some docs
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel.carrera committed Dec 5, 2024
1 parent a9b8f02 commit bee0bc6
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion modules/react/icon/stories/Image.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@ import {Basic} from './examples/Image/Basic';

<Meta title="Images and Icons/Image" />

## Images
# Canvas Kit Image

Represents an `img` element.

## Installation

```sh
yarn add @workday/canvas-kit-react
```

## Usage

## Image

The `Image` component is useful when trying to render raster files or images that need additional styling like aspect ratio or object fit.

<ExampleCodeBlock code={Basic} />

0 comments on commit bee0bc6

Please sign in to comment.