feat: add missing propTypes
This commit is contained in:
@@ -43,8 +43,12 @@ function FlowStepContextMenu(props) {
|
||||
FlowStepContextMenu.propTypes = {
|
||||
stepId: PropTypes.string.isRequired,
|
||||
onClose: PropTypes.func.isRequired,
|
||||
anchorEl: PropTypes.element.isRequired,
|
||||
anchorEl: PropTypes.oneOfType([
|
||||
PropTypes.func,
|
||||
PropTypes.shape({ current: PropTypes.instanceOf(Element) }),
|
||||
]),
|
||||
deletable: PropTypes.bool.isRequired,
|
||||
flowId: PropTypes.string.isRequired,
|
||||
};
|
||||
|
||||
export default FlowStepContextMenu;
|
||||
|
||||
Reference in New Issue
Block a user