Skip to content

Commit 10a7385

Browse files
committed
Remove some less than useful comments
1 parent 2b9e497 commit 10a7385

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

static/app/components/featureShowcase.tsx

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,14 @@ function useShowcaseContext(): ShowcaseContextValue {
4141
return ctx;
4242
}
4343

44-
/**
45-
* Groups content for a single step. Renders as a Stack.
46-
*/
4744
function Step({children}: {children: ReactNode}) {
4845
return <Stack gap="md">{children}</Stack>;
4946
}
5047

51-
/**
52-
* Renders an image for a step.
53-
*/
5448
function StepImage(props: ImageProps) {
5549
return <Image height="200px" objectFit="contain" {...props} />;
5650
}
5751

58-
/**
59-
* Renders the step counter ("1 of 3") and heading.
60-
*/
6152
function StepTitle({children}: {children: ReactNode}) {
6253
const {current, stepCount} = useShowcaseContext();
6354
return (
@@ -72,18 +63,15 @@ function StepTitle({children}: {children: ReactNode}) {
7263
);
7364
}
7465

75-
/**
76-
* Renders step body content as a centered paragraph.
77-
*/
7866
function StepContent({children}: {children: ReactNode}) {
7967
return <Text as="p">{children}</Text>;
8068
}
8169

8270
/**
8371
* Renders the navigation footer for a step.
8472
*
85-
* - No children: renders default Next/Done button.
86-
* - With children: rendered alongside the default nav button.
73+
* - No children: renders default Back/Next/Done buttons.
74+
* - With children: rendered alongside the default navigation buttons.
8775
*/
8876
function StepActions({children}: {children?: ReactNode}) {
8977
const {advance, back, close, hasNext, hasPrevious} = useShowcaseContext();

0 commit comments

Comments
 (0)