-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(PageSection): updated logic to account for variant enum
- Loading branch information
1 parent
7a5a9f4
commit 8d87126
Showing
4 changed files
with
136 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
...emods/src/rules/v6/pageSectionUpdateVariantValues/pageSectionUpdateVariantValuesInput.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import { PageSection } from "@patternfly/react-core"; | ||
import { PageSection, PageSectionVariants } from "@patternfly/react-core"; | ||
|
||
export const PageSectionUpdateVariantValuesInput = () => ( | ||
<PageSection variant='dark' /> | ||
<> | ||
<PageSection variant='dark' /> | ||
<PageSection variant={PageSectionVariants.dark} /> | ||
</> | ||
); |
7 changes: 5 additions & 2 deletions
7
...mods/src/rules/v6/pageSectionUpdateVariantValues/pageSectionUpdateVariantValuesOutput.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import { PageSection } from "@patternfly/react-core"; | ||
import { PageSection, PageSectionVariants } from "@patternfly/react-core"; | ||
|
||
export const PageSectionUpdateVariantValuesInput = () => ( | ||
<PageSection /> | ||
<> | ||
<PageSection /> | ||
<PageSection /> | ||
</> | ||
); |