Skip to content

Commit

Permalink
feat: update stories types
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaCG committed Apr 5, 2024
1 parent f551d23 commit d983edc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/blocks/Form/__stories__/Form.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {Meta, StoryFn} from '@storybook/react';
import formsData from '../../../../.mocks/forms.json';
import {FormBlockModel} from '../../../models/blocks';
import {Form} from '../Form';
import {isHubspotDataForm} from '@gravity-ui/page-constructor';
import {FormBlockProps, isHubspotDataForm} from '@gravity-ui/page-constructor';

export default {
title: 'Blocks/Form',
Expand All @@ -32,7 +32,7 @@ const ContentDirectionTemplate: StoryFn<FormBlockModel> = (args) => {
{
...args,
formData: __getFormData(args.formData),
},
} as FormBlockProps,
].map((props, index) => (
<div key={index} style={{margin: '64px auto'}}>
<Form {...props} />
Expand Down

0 comments on commit d983edc

Please sign in to comment.