-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ToolbarItem): remove widths prop (#758)
- Loading branch information
1 parent
9482ccf
commit f0eeac5
Showing
5 changed files
with
11 additions
and
0 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
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
2 changes: 2 additions & 0 deletions
2
...ges/eslint-plugin-pf-codemods/src/rules/v6/toolbarRemoveProps/toolbarRemovePropsInput.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,13 +1,15 @@ | ||
import { | ||
Toolbar, | ||
ToolbarContent, | ||
ToolbarItem, | ||
ToolbarToggleGroup, | ||
} from "@patternfly/react-core"; | ||
|
||
export const ToolbarRemovePropsInput = () => ( | ||
<> | ||
<Toolbar usePageInsets /> | ||
<ToolbarContent alignSelf={{}} /> | ||
<ToolbarItem widths={{}} /> | ||
<ToolbarToggleGroup alignment={{}} /> | ||
</> | ||
); |
2 changes: 2 additions & 0 deletions
2
...es/eslint-plugin-pf-codemods/src/rules/v6/toolbarRemoveProps/toolbarRemovePropsOutput.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,13 +1,15 @@ | ||
import { | ||
Toolbar, | ||
ToolbarContent, | ||
ToolbarItem, | ||
ToolbarToggleGroup, | ||
} from "@patternfly/react-core"; | ||
|
||
export const ToolbarRemovePropsInput = () => ( | ||
<> | ||
<Toolbar /> | ||
<ToolbarContent /> | ||
<ToolbarItem /> | ||
<ToolbarToggleGroup /> | ||
</> | ||
); |