<commit_before>import React, { Component } from 'react'
import { Link } from 'react-router'
import classNames from 'classnames'
import { getWindowSize, getAttributeForCurrentSize } from '../../utils/size'
import Icon from '../Icon'
import style from './style.less'

export default class Modal extends Component {
   static propTypes = {
      animation: React.PropTypes.oneOf(['scaleIn', 'slideFromBottom']),
      children: React.PropTypes.node,
      height: React.PropTypes.string,
      closeURL: React.PropTypes.string,
      mode: React.PropTypes.string,
      onClose: React.PropTypes.func,
      width: React.PropTypes.string,
      windowClassName: React.PropTypes.string,
      windowMargin: React.PropTypes.string
   }

   static defaultProps = {
      animation: 'scaleIn',
      closeURL: '/',
      mode: 'fixed',
      width: '600',
      height: '600',
      windowMargin: '0px'
   }

   constructor(props) {
      super(props)

      this.state = {
         position: 'middleCenter',
         size: getWindowSize()
      }
   }
<commit_msg>Added px to modal width + height defaultProps<commit_after>import React, { Component } from 'react'
import { Link } from 'react-router'
import classNames from 'classnames'
import { getWindowSize, getAttributeForCurrentSize } from '../../utils/size'
import Icon from '../Icon'
import style from './style.less'

export default class Modal extends Component {
   static propTypes = {
      animation: React.PropTypes.oneOf(['scaleIn', 'slideFromBottom']),
      children: React.PropTypes.node,
      height: React.PropTypes.string,
      closeURL: React.PropTypes.string,
      mode: React.PropTypes.string,
      onClose: React.PropTypes.func,
      width: React.PropTypes.string,
      windowClassName: React.PropTypes.string,
      windowMargin: React.PropTypes.string
   }

   static defaultProps = {
      animation: 'scaleIn',
      closeURL: '/',
      mode: 'fixed',
      width: '600px',
      height: '600px',
      windowMargin: '0px'
   }

   constructor(props) {
      super(props)

      this.state = {
         position: 'middleCenter',
         size: getWindowSize()
      }
   }

{'fraction_non_alphanumeric': 0.12046511627906976, 'fraction_numerical': 0.0065116279069767444, 'mean_word_length': 2.868705035971223, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4096450', 'n_tokens_mistral': 631, 'n_tokens_neox': 623, 'n_words': 152}