mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-25 16:31:37 +02:00
adjust prop in HeaderButton
This commit is contained in:
parent
86a6037a12
commit
fee30d4482
@ -54,9 +54,8 @@ export default class HeaderButton extends React.Component {
|
|||||||
HeaderButton.propTypes = {
|
HeaderButton.propTypes = {
|
||||||
// Whether this button is highlighted
|
// Whether this button is highlighted
|
||||||
isHighlighted: PropTypes.bool.isRequired,
|
isHighlighted: PropTypes.bool.isRequired,
|
||||||
// The phase to swap to when the button is clicked
|
// click handler
|
||||||
clickPhase: PropTypes.string.isRequired,
|
onClick: PropTypes.func.isRequired,
|
||||||
|
|
||||||
// The badge to display above the icon
|
// The badge to display above the icon
|
||||||
badge: PropTypes.node,
|
badge: PropTypes.node,
|
||||||
// The parameters to track the click event
|
// The parameters to track the click event
|
||||||
|
Loading…
x
Reference in New Issue
Block a user