Skip to content

Commit 3c22103

Browse files
committed
Corrected some errors in storybook
1 parent fc51585 commit 3c22103

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/lib/src/search-bar/SearchBar.stories.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { Meta, StoryObj } from "@storybook/react-vite";
22
import ExampleContainer from "../../.storybook/components/ExampleContainer";
33
import Title from "../../.storybook/components/Title";
4-
import DxcLink from "./Link";
54
import DxcSearchBarTrigger from "./SearchBarTrigger";
65
import { useState } from "react";
76
import DxcSearchBar from "./SearchBar";
@@ -16,7 +15,7 @@ const Link = () => {
1615
const [showSearch, setShowSearch] = useState(false);
1716
return (
1817
<>
19-
<Title title="With anchor" theme="light" level={2} />
18+
<Title title="SearchBar component" theme="light" level={2} />
2019
<ExampleContainer>
2120
<DxcFlex alignItems="center">
2221
{!showSearch ? (
@@ -41,7 +40,7 @@ const Link = () => {
4140
);
4241
};
4342

44-
type Story = StoryObj<typeof DxcLink>;
43+
type Story = StoryObj<typeof DxcSearchBar>;
4544

4645
export const Chromatic: Story = {
4746
render: Link,

0 commit comments

Comments
 (0)