Fix propType for clientOffset (#15586)

GitOrigin-RevId: e49e2fa8240e926e44fc65c8f3d7aa1b4435e29b
This commit is contained in:
Alf Eaton 2023-11-06 10:54:03 +00:00 committed by Copybot
parent e8150c4b17
commit 87ac3bca09

View file

@ -42,7 +42,10 @@ FileTreeDraggablePreviewLayer.propTypes = {
item: PropTypes.shape({
title: PropTypes.string.isRequired,
}),
clientOffset: PropTypes.number,
clientOffset: PropTypes.shape({
x: PropTypes.number,
y: PropTypes.number,
}),
}
function DraggablePreviewItem({ title }) {