Skip to content

Commit

Permalink
docs(ffe-feedback-react): added storybook example
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Hellstrand committed Sep 17, 2024
1 parent 42ae0a9 commit 2a5a9cb
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/ffe-feedback-react/src/Feedback.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import React from 'react';
import { Feedback } from './Feedback';
import type { StoryObj, Meta } from '@storybook/react';

const meta: Meta<typeof Feedback> = {
title: 'components/feedback/Feedback',
component: Feedback,
tags: ['autodocs'],
};
export default meta;

type Story = StoryObj<typeof Feedback>;
export const Standard: Story = {
args: {
headingLevel: 2,
},
render: args => <Feedback {...args} />,
};

0 comments on commit 2a5a9cb

Please sign in to comment.