0
0
llucycodes42
The code declares a PropTypes object with the shape object. The shape object defines the following properties:
width: The width of the object
height: The height of the object
depth: The depth of the object
The code uses this object to declare two properties on an object: the width and the height.
Library: react
Shortcut: ptsh
import PropTypes from 'prop-types';
PropTypes.shape({
})