Skip to content

Commit

Permalink
feat(Tooltip): add ariaLabel to icon component in Storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
sarkaaa committed Nov 27, 2024
1 parent 2b8563e commit a4afab7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/orbit-components/src/Tooltip/Tooltip.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { action } from "@storybook/addon-actions";
import type { Meta, StoryObj } from "@storybook/react";

import { PLACEMENTS, AUTO_PLACEMENTS } from "../common/placements";
import * as Icons from "../icons";
import Airplane from "../icons/Airplane";
import { SIZE_OPTIONS } from "./consts";
import Stack from "../Stack";
import Alert from "../Alert";
Expand Down Expand Up @@ -47,7 +47,7 @@ export const Default: Story = {
render: args => (
<Stack justify="center">
<Tooltip {...args}>
<Icons.Airplane />
<Airplane ariaLabel="More information" />
</Tooltip>
</Stack>
),
Expand Down Expand Up @@ -149,7 +149,7 @@ export const WithImageInside: Story = {
</Stack>
}
>
<Icons.Airplane />
<Airplane ariaLabel="More information" />
</Tooltip>
),

Expand Down

0 comments on commit a4afab7

Please sign in to comment.