From 161b49565772bbf5d74032782986b17a82f76019 Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Fri, 27 Dec 2024 03:33:55 +0900 Subject: [PATCH] Add prop to stories --- .../src/navigator/stories/index.story.tsx | 42 +++++++++++++++---- 1 file changed, 34 insertions(+), 8 deletions(-) diff --git a/packages/components/src/navigator/stories/index.story.tsx b/packages/components/src/navigator/stories/index.story.tsx index 2dfff7e6716f43..bc3d94a6d15fdb 100644 --- a/packages/components/src/navigator/stories/index.story.tsx +++ b/packages/components/src/navigator/stories/index.story.tsx @@ -65,15 +65,27 @@ export const Default: StoryObj< typeof Navigator > = {

This is the home screen.

- + Go to child screen. - + Go to dynamic path screen with id 1. - + Go to dynamic path screen with id 2. @@ -82,13 +94,17 @@ export const Default: StoryObj< typeof Navigator > = {

This is the child screen.

- + Go back Go to grand child screen. @@ -97,7 +113,10 @@ export const Default: StoryObj< typeof Navigator > = {

This is the grand child screen.

- + Go back
@@ -120,7 +139,7 @@ function DynamicScreen() { This screen can parse params dynamically. The current id is:{ ' ' } { params.id }

- + Go back @@ -174,14 +193,21 @@ export const SkipFocus: StoryObj< typeof Navigator > = { >

Home screen

- + Go to child screen.

Child screen

- + Go back to home screen