0
0
llucycodes42
();
This code checks to see if the shape property is set on an object and, if so, requires that it be set.
Library: react
Shortcut: ptshr
import PropTypes from 'prop-types';
PropTypes.shape({
}).isRequired
0
0
llucycodes42
();
This code checks to see if the shape property is set on an object and, if so, requires that it be set.
Library: react
Shortcut: ptshr
import PropTypes from 'prop-types';
PropTypes.shape({
}).isRequired