-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(DataListAction): Remove isPlainButtonAction prop #775
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like there is accidentally a .history
folder commited.
Other than that and a comment bellow LGTM
import { DataListAction } from "@patternfly/react-core"; | ||
|
||
export const DataListActionRemoveIsPlainButtonActionPropInput = () => ( | ||
<DataListAction /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The isPlainButtonAction
prop is missing here
@@ -0,0 +1,17 @@ | |||
### dataListAction-remove-isPlainButtonAction-prop [(#10939)](https://github.com/patternfly/patternfly-react/pull/10934) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### dataListAction-remove-isPlainButtonAction-prop [(#10939)](https://github.com/patternfly/patternfly-react/pull/10934) | |
### dataListAction-remove-isPlainButtonAction-prop [(#10939)](https://github.com/patternfly/patternfly-react/pull/10939) |
@@ -0,0 +1,17 @@ | |||
### dataListAction-remove-isPlainButtonAction-prop [(#10939)](https://github.com/patternfly/patternfly-react/pull/10934) | |||
|
|||
The `isPlainButtonAction` prop has been removed from DataListAction as a wrapper is no longer needed when there is a plain button action. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on Michael's comments, maybe something like the following would be more accurate?
The `isPlainButtonAction` prop has been removed from DataListAction as a wrapper is no longer needed when there is a plain button action. | |
The `isPlainButtonAction` prop has been removed from DataListAction as a wrapper is no longer needed. |
Since he had mentioned now applying some styling for non-plain actions as well. If this gets updated we should update the error message in the rule + tests as well.
Closes: #762