Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
onExited: PropTypes.func,
modalPrefix: PropTypes.string,
dialogClassName: PropTypes.string,
attentionClass: PropTypes.string,
}
static defaultProps = {
backdrop: true,
keyboard: true,
animate: true,
transition: true,
container: canUseDOM ? document.body : null,
attentionClass: 'shake',
manager: (BaseModal.getDefaultProps
? BaseModal.getDefaultProps()
: BaseModal.defaultProps
).manager
}
static childContextTypes = {
onModalHide: PropTypes.func
}
getChildContext(){
return this._context || (this._context = { onModalHide: this.props.onHide })
}
constructor(){
super()
this.handleEntering = this.handleEntering.bind(this)