<commit_before>import { Component, PropTypes } from 'react';
import { Spring } from 'react-motion';
import Hammer from 'react-hammerjs';
import extend from '1-liners/extend';
import isFunction from '1-liners/isFunction';
import styles from './styles';

const { bool, number, array, object, string, func } = PropTypes;

export default class Drawer extends Component {

  static propTypes = {
    zIndex: number,           // z-index of the drawer default is 10000
    noTouchOpen: bool,        // can a user pan to open
    noTouchClose: bool,       // can a user pan to close
    onChange: func,           // called when the drawer is open
    drawerStyle: object,      // additional drawer styles
    className: object,        // additional drawer className
    overlayClassName: object, // additional overlay className
    config: array,            // configuration of the react-motion animation
    open: bool,               // states if the drawer is open
    width: number,            // width of the drawer
    height: number,           // height of the drawer<commit_msg>import react not specific objects<commit_after>import React from 'react';
import { Spring } from 'react-motion';
import Hammer from 'react-hammerjs';
import extend from '1-liners/extend';
import isFunction from '1-liners/isFunction';
import styles from './styles';

const { bool, number, array, object, string, func } = React.PropTypes;

export default class Drawer extends React.Component {

  static propTypes = {
    zIndex: number,           // z-index of the drawer default is 10000
    noTouchOpen: bool,        // can a user pan to open
    noTouchClose: bool,       // can a user pan to close
    onChange: func,           // called when the drawer is open
    drawerStyle: object,      // additional drawer styles
    className: object,        // additional drawer className
    overlayClassName: object, // additional overlay className
    config: array,            // configuration of the react-motion animation
    open: bool,               // states if the drawer is open
    width: number,            // width of the drawer
    height: number,           // height of the drawer
{'fraction_non_alphanumeric': 0.08437067773167359, 'fraction_numerical': 0.006454587367450438, 'mean_word_length': 2.5, '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': '4688797', 'n_tokens_mistral': 548, 'n_tokens_neox': 529, 'n_words': 234}