feat: add Object Detail page (#1917)

* feat: add Object Detail page

Closes #1813

* refactor: add object settings width constant
This commit is contained in:
Thaïs
2023-10-09 19:16:02 +02:00
committed by GitHub
parent d0175fc541
commit e1c0cb7821
6 changed files with 61 additions and 2 deletions

View File

@ -0,0 +1,26 @@
import { Meta, StoryObj } from '@storybook/react';
import {
PageDecorator,
PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
import { SettingsObjectDetail } from '../SettingsObjectDetail';
const meta: Meta<PageDecoratorArgs> = {
title: 'Pages/Settings/SettingsObjectDetail',
component: SettingsObjectDetail,
decorators: [PageDecorator],
args: { routePath: '/settings/objects/companies' },
parameters: {
docs: { story: 'inline', iframeHeight: '500px' },
msw: graphqlMocks,
},
};
export default meta;
export type Story = StoryObj<typeof SettingsObjectDetail>;
export const Default: Story = {};