File tree Expand file tree Collapse file tree 4 files changed +3
-27
lines changed
Expand file tree Collapse file tree 4 files changed +3
-27
lines changed Original file line number Diff line number Diff 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
4629type Props = {
Original file line number Diff line number Diff line change @@ -6,11 +6,7 @@ import Section from '../../common/section';
66
77const 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 } />
Original file line number Diff line number Diff 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 } />
Original file line number Diff line number Diff line change @@ -12,11 +12,7 @@ const queryClient = new QueryClient();
1212const 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 } />
You can’t perform that action at this time.
0 commit comments