Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(props) {
super(props);
this.state = {
title: defaultTitle,
text: defaultText,
contents: 'list',
centered: false,
'anchor-x': Layover.defaultProps.anchor.x,
'anchor-y': Layover.defaultProps.anchor.y,
visible: false,
closeOnOutsideClick: true,
horizontal: false,
vertical: false,
sameWidth: false,
};
}
constructor(props) {
super(props);
this.state = {
title: defaultTitle,
text: defaultText,
contents: 'list',
centered: false,
'anchor-x': Layover.defaultProps.anchor.x,
'anchor-y': Layover.defaultProps.anchor.y,
visible: false,
closeOnOutsideClick: true,
horizontal: false,
vertical: false,
sameWidth: false,
};
}