blob: 07607f105309e88dbbb8eecaf24846a0f0c0d7f0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import PropTypes from 'prop-types';
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,
});
|