Skip to content

Commit

Permalink
docs(Table): update column management example to use link button for …
Browse files Browse the repository at this point in the history
…Cancel action (patternfly#10459)
  • Loading branch information
adamviktora authored and tlabaj committed Jun 24, 2024
1 parent 90338f5 commit cfe4c01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export const TableColumnManagement: React.FunctionComponent = () => {
<Button key="save" variant="primary" onClick={onSave}>
Save
</Button>,
<Button key="cancel" variant="secondary" onClick={handleModalToggle}>
<Button key="cancel" variant="link" onClick={handleModalToggle}>
Cancel
</Button>
]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ export const TableColumnManagementWithDraggable: React.FunctionComponent = () =>
<Button key="save" variant="primary" onClick={onSave}>
Save
</Button>,
<Button key="cancel" variant="secondary" onClick={handleModalToggle}>
<Button key="cancel" variant="link" onClick={handleModalToggle}>
Cancel
</Button>
]}
Expand Down

0 comments on commit cfe4c01

Please sign in to comment.