Skip to content

Commit

Permalink
Fixed TypeScript errors in Stories
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmchughes committed Jan 26, 2024
1 parent fd8eff3 commit d1ab5bd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion heat-stack/stories/Button.stories.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Meta, StoryObj } from '@storybook/react';

import { Button } from './Button';
import { Button } from './Button.tsx';

// More on how to set up stories at: https://storybook.js.org/docs/writing-stories#default-export
const meta = {
Expand Down
2 changes: 1 addition & 1 deletion heat-stack/stories/Header.stories.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Meta, StoryObj } from '@storybook/react';

import { Header } from './Header';
import { Header } from './Header.tsx';

const meta = {
title: 'Example/Header',
Expand Down
2 changes: 1 addition & 1 deletion heat-stack/stories/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import { Button } from './Button';
import { Button } from './Button.tsx';
import './header.css';

type User = {
Expand Down
2 changes: 1 addition & 1 deletion heat-stack/stories/Page.stories.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Meta, StoryObj } from '@storybook/react';
import { within, userEvent, expect } from '@storybook/test';

import { Page } from './Page';
import { Page } from './Page.tsx';

const meta = {
title: 'Example/Page',
Expand Down
2 changes: 1 addition & 1 deletion heat-stack/stories/Page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import { Header } from './Header';
import { Header } from './Header.tsx';
import './page.css';

type User = {
Expand Down

0 comments on commit d1ab5bd

Please sign in to comment.