You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Add missing PropType declarations.
This commit is contained in:
@@ -30,11 +30,21 @@ module.exports = {
|
|||||||
ContextualMenuContainerId: "mx_ContextualMenu_Container",
|
ContextualMenuContainerId: "mx_ContextualMenu_Container",
|
||||||
|
|
||||||
propTypes: {
|
propTypes: {
|
||||||
|
top: PropTypes.number,
|
||||||
|
bottom: PropTypes.number,
|
||||||
|
left: PropTypes.number,
|
||||||
|
right: PropTypes.number,
|
||||||
menuWidth: PropTypes.number,
|
menuWidth: PropTypes.number,
|
||||||
menuHeight: PropTypes.number,
|
menuHeight: PropTypes.number,
|
||||||
chevronOffset: PropTypes.number,
|
chevronOffset: PropTypes.number,
|
||||||
menuColour: PropTypes.string,
|
menuColour: PropTypes.string,
|
||||||
chevronFace: PropTypes.string, // top, bottom, left, right
|
chevronFace: PropTypes.string, // top, bottom, left, right
|
||||||
|
// Function to be called on menu close
|
||||||
|
onFinished: PropTypes.func,
|
||||||
|
menuPaddingTop: PropTypes.number,
|
||||||
|
menuPaddingRight: PropTypes.number,
|
||||||
|
menuPaddingBottom: PropTypes.number,
|
||||||
|
menuPaddingLeft: PropTypes.number,
|
||||||
},
|
},
|
||||||
|
|
||||||
getOrCreateContainer: function() {
|
getOrCreateContainer: function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user