Skip to content

Commit 179dd00

Browse files
committed
chore: show divider for each example in playground
1 parent eace0ef commit 179dd00

File tree

4 files changed

+3
-27
lines changed

4 files changed

+3
-27
lines changed

playground/modules/common/section.tsx

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,6 @@ const Item = styled('div')<{ $showDivider: boolean }>`
2424
position: relative;
2525
height: ${({ $showDivider }) => ($showDivider ? '1px' : 0)};
2626
}
27-
28-
${({ $showDivider }) =>
29-
$showDivider &&
30-
`
31-
&::after {
32-
margin: 3rem 0 2rem;
33-
content: '';
34-
background-image: linear-gradient(
35-
48.66deg,
36-
var(--purple),
37-
var(--blue)
38-
);
39-
width: 100%;
40-
position: relative;
41-
height: 1px;
42-
}
43-
`}
4427
`;
4528

4629
type Props = {

playground/modules/wizard/animated/index.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ import Section from '../../common/section';
66

77
const AnimatedSection: React.FC = () => {
88
return (
9-
<Section
10-
title="Animated wizard"
11-
description="animation by framer motion"
12-
showDivider={false}
13-
>
9+
<Section title="Animated wizard" description="animation by framer motion">
1410
<Wizard footer={<Footer />}>
1511
<AnimatedStep>
1612
<Step number={1} withCallback={false} />

playground/modules/wizard/customNextStepIndex/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const CustomNextStepIndex: React.FC = () => {
99
<Section
1010
title="Custom step index"
1111
description="With custom step index on next step"
12+
showDivider={false}
1213
>
1314
<Wizard footer={<FooterStepIndex />}>
1415
<AsyncStep number={1} />

playground/modules/wizard/reactQuery/index.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@ const queryClient = new QueryClient();
1212
const ReactQuerySection: React.FC = () => {
1313
return (
1414
<QueryClientProvider client={queryClient}>
15-
<Section
16-
title="React query"
17-
description="integration with react-query"
18-
showDivider={false}
19-
>
15+
<Section title="React query" description="integration with react-query">
2016
<Wizard footer={<Footer />}>
2117
<QueryStep number={1} />
2218
<LazyQueryStep number={2} />

0 commit comments

Comments
 (0)