diff --git a/src/components/CodeSnippet/CodeSnippet.stories.tsx b/src/components/CodeSnippet/CodeSnippet.stories.tsx index 9a2c9ba9..d6c11127 100644 --- a/src/components/CodeSnippet/CodeSnippet.stories.tsx +++ b/src/components/CodeSnippet/CodeSnippet.stories.tsx @@ -4,6 +4,7 @@ import { Meta, StoryObj } from "@storybook/react"; import CodeSnippet from "./CodeSnippet"; import { CodeSnippetBlockAppearance } from "./CodeSnippetBlock"; +import Button from "components/Button"; const meta: Meta = { component: CodeSnippet, @@ -351,13 +352,12 @@ export const Content: Story = { ", + title: "A button example", + code: "", content: ( - +
+ +
), }, ]} @@ -377,9 +377,9 @@ export const JsxCodeElements: Story = { { code: ( <> - snapinstalltoto + snap install toto
- aptinstalltoto + apt install toto ), },