Skip to content

Commit

Permalink
Add icon as "contextInfo" in a story
Browse files Browse the repository at this point in the history
  • Loading branch information
emir89 committed Feb 3, 2025
1 parent 6aebe52 commit b7c79fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/ContentGroup/ContentGroup.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from "react";
import { Meta, StoryFn } from "@storybook/react";

import { Button } from "../Button/Button";
import { Icon } from "../Icon/Icon";

import { ContentGroup } from "./ContentGroup";

Expand All @@ -15,7 +16,7 @@ const TemplateFull: StoryFn<typeof ContentGroup> = (args) => <ContentGroup {...a
export const BasicExample = TemplateFull.bind({});
BasicExample.args = {
title: "Content group title",
contextInfo: "Context info",
contextInfo: <Icon name="item-question" tooltipText="Context info" />,
annotation: "Annotation",
actionOptions: <Button>Button</Button>,
isCollapsed: false,
Expand Down

0 comments on commit b7c79fc

Please sign in to comment.