aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/mixin/CommonMixin.js
blob: a6893b84adfc63e55a6010806d7ac411148b5247 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import {PropTypes} from 'react';
import enUs from '../locale/en_US';

export default {
  propTypes: {
    prefixCls: PropTypes.string,
    locale: PropTypes.object,
  },

  getDefaultProps() {
    return {
      prefixCls: 'rc-time-picker',
      locale: enUs,
    };
  },
};