Lucas/t 223 i can add comments to companies or people using the right (#181)

* wip

* Implemented comment input text component

* Improved behavior
This commit is contained in:
Lucas Bordeau
2023-06-01 19:49:37 +02:00
committed by GitHub
parent f906533b29
commit bf3097500a
13 changed files with 339 additions and 6 deletions

View File

@ -2,7 +2,8 @@ import type { Meta, StoryObj } from '@storybook/react';
import Companies from '../Companies';
import { render, mocks } from './shared';
import { getRenderWrapperForPage } from '../../../testing/renderWrappers';
import { graphqlMocks } from '../../../testing/graphqlMocks';
const meta: Meta<typeof Companies> = {
title: 'Pages/Companies',
@ -14,8 +15,8 @@ export default meta;
export type Story = StoryObj<typeof Companies>;
export const Default: Story = {
render,
render: getRenderWrapperForPage(<Companies />),
parameters: {
msw: mocks,
msw: graphqlMocks,
},
};