mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 09:18:59 +00:00
dc4b97d15f
- Refactor imports of PropTypes to use the prop-types package - Upgrade dependencies that were setting off deprecation warnings
11 lines
275 B
JavaScript
11 lines
275 B
JavaScript
import PropTypes from 'prop-types';
|
|
|
|
export default PropTypes.shape({
|
|
id: PropTypes.number,
|
|
name: PropTypes.string.isRequired,
|
|
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]),
|
|
read_only: PropTypes.bool,
|
|
type: PropTypes.string,
|
|
});
|
|
|