-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(feature) add ability to insert extra header components to left/right
- Loading branch information
1 parent
9502242
commit 7f50ae9
Showing
4 changed files
with
30 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
import PropTypes from 'prop-types'; | ||
export const propTypes = { | ||
width: PropTypes.number.isRequired, | ||
height: PropTypes.number.isRequired | ||
height: PropTypes.number.isRequired, | ||
showMarketLabel: PropTypes.bool, | ||
extraHeaderComponentsLeft: PropTypes.any, | ||
extraHeaderComponentsRight: PropTypes.any | ||
}; | ||
export const defaultProps = {}; | ||
export const defaultProps = { | ||
showMarketLabel: true | ||
}; |
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