blob: 459b9a7b9301fa922f1df5a49572ad4d7cb66c46 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import PropTypes from 'prop-types';
// eslint-disable-next-line
export const oneOrManyChildElements = PropTypes.oneOfType([
PropTypes.arrayOf(PropTypes.element),
PropTypes.element,
PropTypes.array,
]);
export const globalError = PropTypes.shape({
status: PropTypes.number,
message: PropTypes.string,
code: PropTypes.string,
});
|