Skip to content

Commit 81f5935

Browse files
committed
chore: import components correctly
1 parent 1ed4e30 commit 81f5935

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

src/components/Logo/Logo.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { Story, Meta } from '@storybook/react/types-6-0';
3-
import Logo from '.';
3+
import { Logo } from '.';
44

55
export default {
66
title: 'Utils/Logo',

src/components/Logo/Logo.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { render, screen } from '@testing-library/react';
33
import { renderWithTheme } from 'utils/tests/helpers';
44

5-
import Logo from '.';
5+
import { Logo } from '.';
66

77
describe('<Logo />', () => {
88
it('should render the logo svg', () => {

src/components/Paragraph/Paragraph.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { Story, Meta } from '@storybook/react/types-6-0';
3-
import Paragraph, { ParagraphProps } from '.';
3+
import { Paragraph, ParagraphProps } from '.';
44

55
export default {
66
title: 'Typography/Paragraph',

src/components/Paragraph/Paragraph.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { screen } from '@testing-library/react';
33
import { renderWithTheme } from 'utils/tests/helpers';
44

5-
import Paragraph from '.';
5+
import { Paragraph } from '.';
66

77
describe('<Paragraph />', () => {
88
it('should render the paragraph with the default size', () => {

src/components/Small/Small.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { Story, Meta } from '@storybook/react/types-6-0';
3-
import Small, { SmallProps } from '.';
3+
import { Small, SmallProps } from '.';
44

55
export default {
66
title: 'Typography/Small',

src/components/Small/Small.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { screen } from '@testing-library/react';
33
import { renderWithTheme } from 'utils/tests/helpers';
44

5-
import Small from '.';
5+
import { Small } from '.';
66

77
describe('<Small />', () => {
88
it('should render the small with the default size', () => {

src/components/Title/Title.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { Story, Meta } from '@storybook/react/types-6-0';
3-
import Title, { TitleProps } from '.';
3+
import { Title, TitleProps } from '.';
44

55
export default {
66
title: 'Typography/Title',

src/components/Title/Title.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { screen } from '@testing-library/react';
33
import { renderWithTheme } from 'utils/tests/helpers';
44

5-
import Title from '.';
5+
import { Title } from '.';
66

77
describe('<Title />', () => {
88
it('should render the heading', () => {

0 commit comments

Comments
 (0)