Skip to content

Commit

Permalink
Add displayName to src, create-react-class missing that.
Browse files Browse the repository at this point in the history
  • Loading branch information
josephMG committed Jul 18, 2017
1 parent a022179 commit 8357207
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/DateRangePicker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ function noop() {}

const DateRangePicker = createClass({
mixins: [BemMixin, PureRenderMixin],
displayName: "DateRangePicker",

propTypes: {
bemBlock: PropTypes.string,
Expand Down
1 change: 1 addition & 0 deletions src/Legend.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import PureRenderMixin from 'react-addons-pure-render-mixin';

const Legend = createClass({
mixins: [BemMixin, PureRenderMixin],
displayName: "Legend",

propTypes: {
selectedLabel: PropTypes.string.isRequired,
Expand Down
1 change: 1 addition & 0 deletions src/PaginationArrow.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import PureRenderMixin from 'react-addons-pure-render-mixin';

const PaginationArrow = createClass({
mixins: [BemMixin, PureRenderMixin],
displayName: "PaginationArrow",

propTypes: {
disabled: PropTypes.bool,
Expand Down
1 change: 1 addition & 0 deletions src/calendar/CalendarDate.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import CalendarSelection from './CalendarSelection';

const CalendarDate = createClass({
mixins: [BemMixin, PureRenderMixin],
displayName: "CalendarDate",

propTypes: {
date: CustomPropTypes.moment,
Expand Down
1 change: 1 addition & 0 deletions src/calendar/CalendarDatePeriod.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import PureRenderMixin from '../utils/PureRenderMixin';

const CalendarDatePeriod = createClass({
mixins: [BemMixin, PureRenderMixin],
displayName: "CalendarDatePeriod",

propTypes: {
color: PropTypes.string,
Expand Down
1 change: 1 addition & 0 deletions src/calendar/CalendarMonth.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import PureRenderMixin from '../utils/PureRenderMixin';

const CalendarMonth = createClass({
mixins: [BemMixin, PureRenderMixin],
displayName: "CalendarMonth",

propTypes: {
dateComponent: PropTypes.func,
Expand Down

0 comments on commit 8357207

Please sign in to comment.