1 | import * as PropTypes from 'prop-types';
|
2 | export const elementType = PropTypes.elementType;
|
3 | export let disabled = Object.assign((...args) => PropTypes.bool(...args), {
|
4 | acceptsArray: PropTypes.oneOfType([PropTypes.bool, PropTypes.array])
|
5 | });
|
6 | export const accessor = PropTypes.oneOfType([PropTypes.string, PropTypes.func]);
|
7 | export const message = PropTypes.oneOfType([PropTypes.node, PropTypes.string, PropTypes.func]); |
\ | No newline at end of file |