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

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

  getDefaultProps() {
    return {
      locale: enUs,
    };
  },
};