Skip to content

Commit 29ba05f

Browse files
Update storybook
1 parent ff87134 commit 29ba05f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/stories/00-QuickStart.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from '@storybook/react';
1+
import type { Meta } from '@storybook/react';
22
import React from 'react'; // React is implicitly used by JSX and useState
33
import $ from '../index';
44

src/stories/01-BuiltInHooks.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from '@storybook/react';
1+
import type { Meta } from '@storybook/react';
22
import React from 'react'; // For createContext, useRef, etc.
33
import $ from '../index'; // Adjust path as necessary
44
import { useFormStatus as reactDom_useFormStatus } from 'react-dom'; // For useFormStatus example

src/stories/02-CustomHooks.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from '@storybook/react';
1+
import type { Meta } from '@storybook/react';
22
import React from 'react'; // For useState
33
import $ from '../index';
44

src/stories/03-NestingRenderHooks.stories.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from '@storybook/react';
1+
import type { Meta } from '@storybook/react';
22
import React from 'react'; // Needed for useState, useTransition in this example
33
import $ from '../index';
44

@@ -92,11 +92,11 @@ export function NestedExample() {
9292
</ul>
9393
);
9494
}
95-
NestedExample.storyName = 'Nesting RenderHooks';
95+
NestedExample.storyName = 'Using Nested Hooks';
9696
// End of copied code
9797

9898
const meta: Meta<typeof NestedExample> = {
99-
title: 'Examples/Nesting RenderHooks',
99+
title: 'Examples/Nested Hooks',
100100
component: NestedExample,
101101
parameters: {
102102
layout: 'padded',

0 commit comments

Comments
 (0)