mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 12:43:11 +10:00
Remove shape validation for options
The shape correctness is validated in the child component.
This commit is contained in:
parent
56b67ccb96
commit
078d7700b2
1 changed files with 2 additions and 7 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import React, { Component } from 'react';
|
||||
import { arrayOf, func, node, number, shape, string } from 'prop-types';
|
||||
import { array, arrayOf, func, number, string } from 'prop-types';
|
||||
import classNames from 'classnames';
|
||||
import { injectIntl, intlShape } from 'react-intl';
|
||||
import { toPairs } from 'lodash';
|
||||
|
|
@ -167,12 +167,7 @@ SelectMultipleFilter.propTypes = {
|
|||
rootClassName: string,
|
||||
className: string,
|
||||
onSubmit: func.isRequired,
|
||||
options: arrayOf(
|
||||
shape({
|
||||
key: string.isRequired,
|
||||
label: node.isRequired,
|
||||
})
|
||||
).isRequired,
|
||||
options: array.isRequired,
|
||||
initialValues: arrayOf(string),
|
||||
contentPlacementOffset: number,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue