We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb75d8a commit 09d87deCopy full SHA for 09d87de
src/components/tabs/Tabs.tsx
@@ -180,9 +180,13 @@ export const Tab: FunctionComponent<TabProps> = ({
180
disabled={disabled}
181
buttons={buttons}
182
>
183
- {wizard && activeTab && index && (
184
- <Step {...(index <= activeTab && { className: "dark" })}>{step}</Step>
185
- )}
+ {wizard ? (
+ activeTab && index ? (
+ <Step {...(index <= activeTab && { className: "dark" })}>{step}</Step>
186
+ ) : (
187
+ <Step>{step}</Step>
188
+ )
189
+ ) : null}
190
<Heading level={5}>{heading}</Heading>
191
<Text small>{caption}</Text>
192
</TabContainer>
0 commit comments