Skip to content

Commit

Permalink
add story for DocsHelpCard
Browse files Browse the repository at this point in the history
  • Loading branch information
irfankhan10 committed Oct 4, 2024
1 parent 334b749 commit d569ff1
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions stories/custom/docs-helpcard.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import { Meta, StoryObj } from "@storybook/react";
import { LifeBuoyIcon, BookIcon } from 'lucide-react'
import { DocsHelpCard } from 'src'

const helpSectionConfig = {
columns: [{
title: "Get in touch for support",
icon_description: "Support Icon",
icon: LifeBuoyIcon,
link: "https://www.quantinuum.com/contact/docs",
description: "Need help? Fill out our support form here",

},
{
title: "Publications",
icon_description: "Publications Icon",
icon: BookIcon,
link: "https://quantinuum.com/publications",
description: "Find our latest research publications here",
}],
};


export function DocsHelpCardDemo() {
return <DocsHelpCard {...helpSectionConfig} />
}

const meta: Meta<typeof DocsHelpCard> = {
component: DocsHelpCard,
};

export default meta;

export const Default: StoryObj<typeof DocsHelpCard> = {
args: {},
};

0 comments on commit d569ff1

Please sign in to comment.