Skip to content

Commit

Permalink
fix typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahgm committed Dec 16, 2022
1 parent ee6ca6e commit 5470945
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion packages/components/src/Checkbox/CheckboxGroup.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { Meta, ComponentStory } from '@storybook/react';

import { Checkbox } from './Checkbox';
import { CheckboxGroup } from './CheckboxGroup';
import { FieldBaseGroup } from '../FieldBase/FieldBaseGroup';

export default {
title: 'Components/CheckboxGroup',
Expand Down
5 changes: 1 addition & 4 deletions packages/components/src/TextField/TextField.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import type { Meta, ComponentStory } from '@storybook/react';
import { TextField } from './TextField';
import { FieldBaseGroup } from '../FieldBase/FieldBaseGroup';

export default {
title: 'Components/TextField',
Expand Down Expand Up @@ -82,9 +81,7 @@ export default {
} as Meta;

export const Basic: ComponentStory<typeof TextField> = args => (
<FieldBaseGroup space="medium">
<TextField {...args} label="My label is great." />{' '}
</FieldBaseGroup>
<TextField {...args} label="My label is great." />
);

export const Controlled: ComponentStory<typeof TextField> = args => {
Expand Down
1 change: 0 additions & 1 deletion packages/components/src/TextField/TextField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { ComponentProps } from '@marigold/types';

import { FieldBase, FieldBaseProps } from '../FieldBase';
import { Input } from '../Input';
import { FieldBaseGroup } from '../FieldBase/FieldBaseGroup';

// Props
// ---------------
Expand Down

0 comments on commit 5470945

Please sign in to comment.