Fix propType for clientOffset (#15586)

GitOrigin-RevId: e49e2fa8240e926e44fc65c8f3d7aa1b4435e29b
This commit is contained in:
Alf Eaton
2023-11-07 09:04:27 +00:00
committed by Copybot
parent 1267986c08
commit 44bf5e7058
@@ -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 }) {