0
0
llucycodes42
The code declares that the object passed in will be an instance of the PropTypes.oneOfType() constructor. This means that the object will have a single property that is of the type given as an argument.
Library: react
Shortcut: ptet
import PropTypes from 'prop-types';
PropTypes.oneOfType([
])